aboutsummaryrefslogtreecommitdiffstats
path: root/nginx.conf
diff options
context:
space:
mode:
authorVeikka Kähkönen <veikka.kahkonen@aalto.fi>2017-09-25 15:56:43 +0300
committerVeikka Kähkönen <veikka.kahkonen@aalto.fi>2017-09-25 15:56:43 +0300
commit8b9fdd13beeca586cb2bf34e7abfb621708742fd (patch)
treea8b02fa893086af79963894ed34c21bb92047213 /nginx.conf
parent5a568946dbd48900539567f4f385489c43f90d21 (diff)
Dockerize
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf14
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;
+ }
+}