mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 18:36:37 +08:00
disabled cache for static files
This commit is contained in:
parent
e872bb889e
commit
b48ded1dd6
@ -29,6 +29,7 @@ location /login {
|
|||||||
|
|
||||||
location /share {
|
location /share {
|
||||||
root /usr/share/kvmd/web;
|
root /usr/share/kvmd/web;
|
||||||
|
include /etc/kvmd/nginx/loc-nocache.conf;
|
||||||
auth_request off;
|
auth_request off;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,11 +40,13 @@ location /share/css/user.css {
|
|||||||
|
|
||||||
location = /favicon.ico {
|
location = /favicon.ico {
|
||||||
alias /usr/share/kvmd/web/favicon.ico;
|
alias /usr/share/kvmd/web/favicon.ico;
|
||||||
|
include /etc/kvmd/nginx/loc-nocache.conf;
|
||||||
auth_request off;
|
auth_request off;
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /robots.txt {
|
location = /robots.txt {
|
||||||
alias /usr/share/kvmd/web/robots.txt;
|
alias /usr/share/kvmd/web/robots.txt;
|
||||||
|
include /etc/kvmd/nginx/loc-nocache.conf;
|
||||||
auth_request off;
|
auth_request off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user