mf-hosting 2.6.0 → 2.8.0
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/package.json +19 -9
- package/pkg/nginx.conf +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mf-hosting",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"files": [
|
|
5
5
|
".releaserc.json",
|
|
6
6
|
"pkg/hooks.sh",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"nginx-mainline": ">=1.27.1"
|
|
51
51
|
},
|
|
52
52
|
"content": {
|
|
53
|
-
"${nginx.
|
|
53
|
+
"${nginx.locations.dir}${nginx.location.category}/${name}.conf": "pkg/nginx.conf",
|
|
54
54
|
"${systemd.unit.dir}${name}.socket": "pkg/systemd.socket"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
@@ -58,19 +58,25 @@
|
|
|
58
58
|
"properties": {
|
|
59
59
|
"systemd": true,
|
|
60
60
|
"nginx": true,
|
|
61
|
-
"nginx.sites.dir": "/etc/nginx/sites-available/",
|
|
62
61
|
"nginx.content.dir": "/var/www/html/"
|
|
63
62
|
},
|
|
64
63
|
"arch": [
|
|
65
64
|
"aarch64",
|
|
66
65
|
"x86_64"
|
|
67
|
-
]
|
|
66
|
+
],
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"systemd": ">=252.30",
|
|
69
|
+
"nginx": ">=1.22.1"
|
|
70
|
+
},
|
|
71
|
+
"content": {
|
|
72
|
+
"${nginx.locations.dir}${nginx.location.category}/${name}.conf": "pkg/nginx.conf",
|
|
73
|
+
"${systemd.unit.dir}${name}.socket": "pkg/systemd.socket"
|
|
74
|
+
}
|
|
68
75
|
},
|
|
69
76
|
"rpm": {
|
|
70
77
|
"properties": {
|
|
71
78
|
"systemd": true,
|
|
72
|
-
"nginx": true
|
|
73
|
-
"nginx.sites.dir": "/etc/nginx/sites-available/"
|
|
79
|
+
"nginx": true
|
|
74
80
|
},
|
|
75
81
|
"arch": [
|
|
76
82
|
"aarch64"
|
|
@@ -79,8 +85,7 @@
|
|
|
79
85
|
"docker": {
|
|
80
86
|
"properties": {
|
|
81
87
|
"install.dir": "/app",
|
|
82
|
-
"workdir": "${install.dir}"
|
|
83
|
-
"nginx.sites.dir": "/etc/nginx/sites-available/"
|
|
88
|
+
"workdir": "${install.dir}"
|
|
84
89
|
},
|
|
85
90
|
"dependencies": {
|
|
86
91
|
"node": "lts-slim"
|
|
@@ -128,8 +133,12 @@
|
|
|
128
133
|
"wss.origin": "${http.origin}",
|
|
129
134
|
"node.exe": "/usr/bin/node",
|
|
130
135
|
"bun.exe": "/usr/bin/bun",
|
|
136
|
+
"nginx.location.header": "",
|
|
131
137
|
"nginx.location.trailer": "",
|
|
132
138
|
"nginx.server.extra": "",
|
|
139
|
+
"nginx.locations.dir": "/etc/nginx/locations/",
|
|
140
|
+
"nginx.location.category": "common",
|
|
141
|
+
"nginx.sites.dir": "/etc/nginx/sites-available/",
|
|
133
142
|
"csp.header": "",
|
|
134
143
|
"cache-control.header": "private,no-store"
|
|
135
144
|
},
|
|
@@ -144,7 +153,8 @@
|
|
|
144
153
|
"groups": "examples",
|
|
145
154
|
"description": "example showing ${name} features in action",
|
|
146
155
|
"variant": "mf.linux",
|
|
147
|
-
"nginx.location.trailer": " access_log off;\n"
|
|
156
|
+
"nginx.location.trailer": " access_log off;\n",
|
|
157
|
+
"nginx.location.category": "examples"
|
|
148
158
|
},
|
|
149
159
|
{
|
|
150
160
|
"requires": {
|
package/pkg/nginx.conf
CHANGED