mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix
This commit is contained in:
@@ -11,6 +11,13 @@ http {
|
|||||||
|
|
||||||
keepalive_timeout 3600;
|
keepalive_timeout 3600;
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||||
|
gzip_proxied any;
|
||||||
|
gzip_min_length 256;
|
||||||
|
gzip_vary on;
|
||||||
|
gzip_comp_level 6;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
include mime.types;
|
include mime.types;
|
||||||
@@ -32,6 +39,7 @@ http {
|
|||||||
# 静态资源
|
# 静态资源
|
||||||
expires 1y;
|
expires 1y;
|
||||||
add_header Cache-Control "public, immutable";
|
add_header Cache-Control "public, immutable";
|
||||||
|
root html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /assets {
|
location /assets {
|
||||||
|
|||||||
Reference in New Issue
Block a user