Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/nginx.conf
gzip on; | |||||
gzip_vary on; | |||||
gzip_proxied any; | |||||
gzip_comp_level 9; | |||||
gzip_buffers 16 8k; | |||||
gzip_http_version 1.1; | |||||
gzip_min_length 256; | |||||
gzip_types | |||||
application/atom+xml | |||||
application/geo+json | |||||
application/javascript | |||||
application/x-javascript | |||||
application/json | |||||
application/ld+json | |||||
application/manifest+json | |||||
application/rdf+xml | |||||
application/rss+xml | |||||
application/xhtml+xml | |||||
application/xml | |||||
font/eot | |||||
font/otf | |||||
font/ttf | |||||
image/svg+xml | |||||
text/css | |||||
text/javascript | |||||
text/plain | |||||
text/xml; | |||||
server { | server { | ||||
listen 80; | listen 80; | ||||
location / { | location / { | ||||
root /usr/share/nginx/html; | root /usr/share/nginx/html; | ||||
index index.html index.htm; | index index.html index.htm; | ||||
try_files $uri $uri/ /index.html; | try_files $uri $uri/ /index.html; | ||||
} | } | ||||
error_page 500 502 503 504 /50x.html; | error_page 500 502 503 504 /50x.html; | ||||
location = /50x.html { | location = /50x.html { | ||||
root /usr/share/nginx/html; | root /usr/share/nginx/html; | ||||
} | } | ||||
} | } | ||||
No newline at end of file | No newline at end of file |