From 96aab043439885b7601b485c3ef116eec7218c5a Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Mon, 10 Jun 2019 23:00:54 +0200 Subject: Add error page --- compose/nginx/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compose/nginx/nginx.conf') 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; } -- cgit 1.4.1