Поправил настройки кеширования

This commit is contained in:
Book Pauk
2019-10-21 13:07:16 +07:00
parent 42ed691fdc
commit f209d49bb5

View File

@@ -18,14 +18,17 @@ server {
proxy_pass http://localhost:44081;
}
location /tmp {
root /home/liberama/public;
add_header Content-Type text/xml;
add_header Content-Encoding gzip;
}
location / {
root /home/liberama/public;
location /tmp {
add_header Content-Type text/xml;
add_header Content-Encoding gzip;
}
location ~* \.(?:manifest|appcache|html)$ {
expires -1;
}
}
}