configs: Enable gzip_static module
This commit is contained in:
parent
3421286c9b
commit
f0e6183c21
@ -118,6 +118,7 @@ server {
|
||||
alias /srv/FILES/;
|
||||
sendfile on;
|
||||
tcp_nodelay on;
|
||||
gzip_static always;
|
||||
}
|
||||
|
||||
location /wait.json {
|
||||
|
@ -104,6 +104,7 @@ server {
|
||||
alias ${PATH_FILES}/;
|
||||
sendfile on;
|
||||
tcp_nodelay on;
|
||||
gzip_static always;
|
||||
}
|
||||
|
||||
location /wait.json {
|
||||
|
@ -108,6 +108,7 @@ server {
|
||||
alias /srv/FILES/;
|
||||
sendfile on;
|
||||
tcp_nodelay on;
|
||||
gzip_static always;
|
||||
}
|
||||
|
||||
location /wait.json {
|
||||
|
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user