about summary refs log tree commit diff
path: root/compose/nginx/nginx.conf
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel.to.malpa@gmail.com>2019-06-10 23:00:54 +0200
committerPaweł Dybiec <pawel.to.malpa@gmail.com>2019-06-10 23:00:54 +0200
commit96aab043439885b7601b485c3ef116eec7218c5a (patch)
treebc73cabcc7d373140b633df9e2e98effee944684 /compose/nginx/nginx.conf
parentAdd octoprint2 (diff)
Add error page
Diffstat (limited to 'compose/nginx/nginx.conf')
-rw-r--r--compose/nginx/nginx.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/compose/nginx/nginx.conf b/compose/nginx/nginx.conf
index af5b482..452e608 100644
--- a/compose/nginx/nginx.conf
+++ b/compose/nginx/nginx.conf
@@ -52,4 +52,6 @@ http {
     add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
 
     include /etc/nginx/conf.d/*.conf;
+
+    error_page 500 501 502 503 504 /50x.html;
 }