mf-hosting 2.2.0 → 2.3.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 +7 -4
- package/pkg/nginx.conf +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mf-hosting",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"files": [
|
|
5
5
|
".releaserc.json",
|
|
6
6
|
"pkg/hooks.sh",
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"aarch64"
|
|
91
91
|
],
|
|
92
92
|
"backup.config.dir": "/usr/lib/backup.d/",
|
|
93
|
+
"backup.lib.dir": "/usr/lib/backup.d/",
|
|
93
94
|
"config.dir": "/etc/${name}/",
|
|
94
95
|
"http.api": "${http.origin}${http.api.path}",
|
|
95
96
|
"http.api.path": "${http.path}/api",
|
|
@@ -100,7 +101,6 @@
|
|
|
100
101
|
"install.dir": "${install.base.dir}${name}${install.sub.dir}",
|
|
101
102
|
"install.sub.dir": "/",
|
|
102
103
|
"journal.endpoint": "/services/journal",
|
|
103
|
-
"nginx.sites.dir": "/etc/nginx/sites/common/",
|
|
104
104
|
"os.group": "${name}",
|
|
105
105
|
"os.user": "${name}",
|
|
106
106
|
"polkit.rules.dir": "/etc/polkit-1/rules.d/",
|
|
@@ -117,10 +117,13 @@
|
|
|
117
117
|
"well-known.content.dir": "/srv/http/.well-known/",
|
|
118
118
|
"wss.api": "${wss.origin}${http.api.path}",
|
|
119
119
|
"wss.origin": "${http.origin}",
|
|
120
|
-
"backup.lib.dir": "/usr/lib/backup.d/",
|
|
121
120
|
"node.exe": "/usr/bin/node",
|
|
122
121
|
"bun.exe": "/usr/bin/bun",
|
|
123
|
-
"nginx.
|
|
122
|
+
"nginx.sites.dir": "/etc/nginx/sites/common/",
|
|
123
|
+
"nginx.location.trailer": "",
|
|
124
|
+
"nginx.server.extra": "",
|
|
125
|
+
"csp.header": "",
|
|
126
|
+
"cache-control.header": "private,no-store"
|
|
124
127
|
},
|
|
125
128
|
{
|
|
126
129
|
"requires": {
|
package/pkg/nginx.conf
CHANGED
|
@@ -11,6 +11,8 @@ location {{http.path}} {
|
|
|
11
11
|
|
|
12
12
|
add_header X-Content-Type-Options nosniff;
|
|
13
13
|
add_header Content-Security-Policy "{{csp.header}}" always;
|
|
14
|
-
add_header Cache-Control "
|
|
15
|
-
add_header alt-svc 'h3=":443";ma=
|
|
14
|
+
add_header Cache-Control "{{cache-control.header}}";
|
|
15
|
+
add_header alt-svc 'h3=":443";ma=86400;persist=1';
|
|
16
16
|
{{nginx.location.trailer}}}
|
|
17
|
+
|
|
18
|
+
{{nginx.server.extra}}
|