diff options
| author | Veikka Kähkönen <veikka.kahkonen@aalto.fi> | 2017-09-25 15:56:43 +0300 |
|---|---|---|
| committer | Veikka Kähkönen <veikka.kahkonen@aalto.fi> | 2017-09-25 15:56:43 +0300 |
| commit | 8b9fdd13beeca586cb2bf34e7abfb621708742fd (patch) | |
| tree | a8b02fa893086af79963894ed34c21bb92047213 /nginx.conf | |
| parent | 5a568946dbd48900539567f4f385489c43f90d21 (diff) | |
Dockerize
Diffstat (limited to 'nginx.conf')
| -rw-r--r-- | nginx.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..02e8dab --- /dev/null +++ b/nginx.conf @@ -0,0 +1,14 @@ +server { + listen 80; + server_name localhost; + + location ~ ^/ { + root /usr/share/nginx/html; + try_files $uri $uri/index.html; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } +} |
