configs: Enable gzip_static module

This commit is contained in:
nemunaire 2022-11-24 14:44:17 +01:00
parent 3421286c9b
commit f0e6183c21
4 changed files with 9 additions and 0 deletions

View File

@ -118,6 +118,7 @@ server {
alias /srv/FILES/;
sendfile on;
tcp_nodelay on;
gzip_static always;
}
location /wait.json {

View File

@ -104,6 +104,7 @@ server {
alias ${PATH_FILES}/;
sendfile on;
tcp_nodelay on;
gzip_static always;
}
location /wait.json {

View File

@ -108,6 +108,7 @@ server {
alias /srv/FILES/;
sendfile on;
tcp_nodelay on;
gzip_static always;
}
location /wait.json {

View File

@ -36,6 +36,12 @@ server {
rewrite ^/.*$ /index.html;
}
location /files/ {
sendfile on;
tcp_nodelay on;
gzip_static always;
}
location = /welcome.html {
internal;
if ($http_accept ~ "^application/json") {