fix(vault & files): frontend nginx config error (#1366)

* fix(desktop): fixed the issue that the customized desktop background image does not display

* feat: update login & settings & profile version

* fix(vault & files):  nginx  error

* fix: vault.conf error
This commit is contained in:
wiy 2025-05-29 20:27:54 +08:00 committed by GitHub
parent eec03ee9b4
commit 46df22854d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3064,7 +3064,18 @@ data:
}
location ~ ^/resources/Home/Pictures/(.*.(png|jpg|svg|gif|jpeg))$
{
alias /data/Pictures/$1;
proxy_pass http://files-service.os-system:80/api/raw/Home/Pictures/$1;
add_header Cache-Control "public, max-age=2592000";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
add_header Accept-Ranges bytes;
client_body_timeout 600s;
client_max_body_size 4000M;
proxy_request_buffering off;
keepalive_timeout 750s;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
autoindex off;
}
}
@ -3158,22 +3169,9 @@ data:
add_header X-Frame-Options SAMEORIGIN;
}
location ~ ^/(assets|js|css|fonts|img)/.*.(js|css|png|jpg|svg|woff|woff2)$
location ~.*\.(js|css|png|jpg|svg|woff|woff2|wasm)$
{
proxy_pass http://files-service.os-system:80/api/raw/Home/Pictures/$1;
add_header Cache-Control "public, max-age=2592000";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
add_header Accept-Ranges bytes;
client_body_timeout 600s;
client_max_body_size 4000M;
proxy_request_buffering off;
keepalive_timeout 750s;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
autoindex off;
add_header Cache-Control "public, max-age=2678400";
}
}
market.conf: |-