diff options
Diffstat (limited to 'opendc-web/opendc-web-ui/nginx.conf')
| -rw-r--r-- | opendc-web/opendc-web-ui/nginx.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/nginx.conf b/opendc-web/opendc-web-ui/nginx.conf new file mode 100644 index 00000000..1b4e3a73 --- /dev/null +++ b/opendc-web/opendc-web-ui/nginx.conf @@ -0,0 +1,15 @@ +server { + listen 80; + server_name opendc.org; + + location / { + root /usr/share/nginx/html; + index index.html index.htm; + try_files $uri $uri/ /index.html; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } +} |
