about summary refs log tree commit diff
path: root/templates
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 /templates
parentAdd octoprint2 (diff)
Add error page
Diffstat (limited to 'templates')
-rw-r--r--templates/nginx.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2
index 1f6c71a..b8896b7 100644
--- a/templates/nginx.conf.j2
+++ b/templates/nginx.conf.j2
@@ -53,4 +53,8 @@ server {
 {% endif %}
   }
 
+  location = /50x.html {
+    root /usr/share/nginx/html;
+  }
+
 }