diff --git a/nginx.conf b/nginx.conf index 1d09286..83cfaf4 100644 --- a/nginx.conf +++ b/nginx.conf @@ -33,21 +33,22 @@ http { #gzip on; server { - listen 80 default_server; + listen 11451 default_server; server_name localhost _; - #autoindex on; + # autoindex on; charset utf8; - + root /usr/share/nginx/html; #charset koi8-r; #access_log logs/host.access.log main; + access_log off; location / { - root /usr/share/nginx/html; - index index.html index.htm; + try_files $uri $uri/ /index.html; } location /health { add_header Content-Type text/plain; + access_log off; return 200 "OK"; }