summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-04-18 20:24:49 +0300
committerDevaev Maxim <[email protected]>2021-04-18 20:24:49 +0300
commitb48ded1dd6c98031ea7fcff221859a6e86ed3ef2 (patch)
treef98bb201ea82ef8c444bb909320d303cc6bb5eee
parente872bb889ec1b722cb445398746b7446d870a030 (diff)
disabled cache for static files
-rw-r--r--configs/nginx/kvmd.ctx-server.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/nginx/kvmd.ctx-server.conf b/configs/nginx/kvmd.ctx-server.conf
index a074fa26..e8dd024e 100644
--- a/configs/nginx/kvmd.ctx-server.conf
+++ b/configs/nginx/kvmd.ctx-server.conf
@@ -29,6 +29,7 @@ location /login {
location /share {
root /usr/share/kvmd/web;
+ include /etc/kvmd/nginx/loc-nocache.conf;
auth_request off;
}
@@ -39,11 +40,13 @@ location /share/css/user.css {
location = /favicon.ico {
alias /usr/share/kvmd/web/favicon.ico;
+ include /etc/kvmd/nginx/loc-nocache.conf;
auth_request off;
}
location = /robots.txt {
alias /usr/share/kvmd/web/robots.txt;
+ include /etc/kvmd/nginx/loc-nocache.conf;
auth_request off;
}