mf-hosting 1.14.7 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,4 +8,5 @@
8
8
 
9
9
  Hosting definitions
10
10
 
11
- Information used to create packages
11
+ Information used to create packages/images
12
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mf-hosting",
3
- "version": "1.14.7",
4
- "description": "unix hosting definitions @MF",
3
+ "version": "1.15.1",
4
+ "description": "hosting definitions @MF",
5
5
  "devDependencies": {
6
6
  "semantic-release": "^22.0.12"
7
7
  },
@@ -16,9 +16,29 @@
16
16
  "pkgbuild": [
17
17
  {
18
18
  "output": {
19
- "arch": {},
20
- "debian": {},
21
- "rpm": {}
19
+ "arch": {
20
+ "properties": {
21
+ "systemd": true,
22
+ "nginx": true
23
+ }
24
+ },
25
+ "debian": {
26
+ "properties": {
27
+ "systemd": true,
28
+ "nginx": true
29
+ }
30
+ },
31
+ "rpm": {
32
+ "properties": {
33
+ "systemd": true,
34
+ "nginx": true
35
+ }
36
+ },
37
+ "docker": {
38
+ "properties": {
39
+ "install.dir": "/app"
40
+ }
41
+ }
22
42
  },
23
43
  "vendor": "MF",
24
44
  "groups": "services",
@@ -27,10 +47,6 @@
27
47
  "arm",
28
48
  "x86_64"
29
49
  ],
30
- "properties": {
31
- "systemd": true,
32
- "nginx": true
33
- },
34
50
  "backup.config.dir": "/usr/lib/backup.d/",
35
51
  "config.dir": "/etc/${name}/",
36
52
  "content": {
@@ -69,7 +85,8 @@
69
85
  "wss.origin": "${http.origin}",
70
86
  "backup.lib.dir": "/usr/lib/backup.d/",
71
87
  "node.exe": "/usr/bin/node",
72
- "bun.exe": "/usr/bin/bun"
88
+ "bun.exe": "/usr/bin/bun",
89
+ "nginx.location.trailer": ""
73
90
  },
74
91
  {
75
92
  "requires": {
@@ -88,13 +105,6 @@
88
105
  "backup": "${config.dir}config.json",
89
106
  "hooks": "pkg/hooks.sh",
90
107
  "variant": "mf.linux"
91
- },
92
- {
93
- "requires": {
94
- "output": "docker"
95
- },
96
- "install.dir": "/app",
97
- "variant": "mf.linux"
98
108
  }
99
109
  ],
100
110
  "template": {
package/pkg/nginx.conf CHANGED
@@ -12,4 +12,4 @@ location {{http.path}} {
12
12
  add_header Content-Security-Policy "{{csp.header}}" always;
13
13
  add_header Cache-Control "private,no-store";
14
14
  add_header alt-svc 'h3=":443";ma=7776000;persist=1';
15
- }
15
+ {nginx.location.trailer}}}