diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..df4c15e --- /dev/null +++ b/nginx.conf @@ -0,0 +1,15 @@ +server { + listen 80; + server_name _; + root /usr/share/nginx/html; + index index.html index.htm; + + location / { + try_files $uri $uri/ $uri.html =404; + } + + error_page 404 /404.html; + + gzip on; + gzip_types text/plain text/css application/json application/javascript text/xml application/xml text/javascript; +}