mf-hosting-frontend 3.7.1 → 3.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 +5 -3
- package/pkg/nginx.conf +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mf-hosting-frontend",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"files": [
|
|
5
5
|
".releaserc.json",
|
|
6
6
|
"pkg/compress-hooks.sh",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
17
17
|
"@semantic-release/exec": "^6.0.3",
|
|
18
|
-
"@semantic-release/github": "^
|
|
18
|
+
"@semantic-release/github": "^11.0.0",
|
|
19
19
|
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
20
20
|
"semantic-release": "^24.1.1"
|
|
21
21
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"nginx": true
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"nginx": ">=1.22.
|
|
67
|
+
"nginx": ">=1.22.2",
|
|
68
68
|
"node": "-",
|
|
69
69
|
"bun": "-"
|
|
70
70
|
}
|
|
@@ -93,6 +93,8 @@
|
|
|
93
93
|
"http.origin": "https://${domain1}",
|
|
94
94
|
"http.path": "${http.base.path}/${name}",
|
|
95
95
|
"http.path.lonesome": "${http.path}",
|
|
96
|
+
"http.header.alt-svc": "h3=\":443\";ma=86400;persist=1",
|
|
97
|
+
"http.try_files.extra": "",
|
|
96
98
|
"install.base.dir": "/services/",
|
|
97
99
|
"install.dir": "${install.base.dir}${name}${install.sub.dir}",
|
|
98
100
|
"install.sub.dir": "/",
|
package/pkg/nginx.conf
CHANGED
|
@@ -3,17 +3,17 @@ location {{http.path}}/assets {
|
|
|
3
3
|
add_header X-Content-Type-Options nosniff;
|
|
4
4
|
add_header Content-Security-Policy "{{csp.header}}" always;
|
|
5
5
|
add_header Cache-Control "public,max-age=31536000,immutable";
|
|
6
|
-
add_header alt-svc
|
|
6
|
+
add_header alt-svc {{http.header.alt-svc}};
|
|
7
7
|
{{nginx.location.trailer}}}
|
|
8
8
|
|
|
9
9
|
location {{http.path.lonesome}} {
|
|
10
10
|
{{nginx.location.header}} alias {{install.dir}};
|
|
11
|
-
try_files $uri$args $uri$args/ {{http.path}}/index.html;
|
|
11
|
+
try_files $uri$args $uri$args/ {{http.path}}/index.html{{http.try_files.extra}};
|
|
12
12
|
add_header X-Content-Type-Options nosniff;
|
|
13
13
|
add_header Content-Security-Policy "{{csp.header}}" always;
|
|
14
14
|
add_header Reporting-Endpoints "csp-endpoint='{{csp.endpoint}}'" always;
|
|
15
15
|
add_header Cache-Control "public,no-cache";
|
|
16
|
-
add_header alt-svc
|
|
16
|
+
add_header alt-svc {{http.header.alt-svc}};
|
|
17
17
|
{{nginx.location.trailer}}}
|
|
18
18
|
|
|
19
19
|
{{nginx.server.extra}}
|