From f5bb701561a7574c084c7ab827a029d1d8e86b46 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 11 Oct 2017 11:55:15 +0200 Subject: [PATCH] add 403 page --- etc/nginx/pandora | 4 ++++ static/html/403.html | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 static/html/403.html diff --git a/etc/nginx/pandora b/etc/nginx/pandora index 2c64e496..24125480 100644 --- a/etc/nginx/pandora +++ b/etc/nginx/pandora @@ -63,6 +63,10 @@ server { } error_page 400 /; + error_page 403 /403.html; + location /403.html { + root /srv/pandora/static/html; + } error_page 404 /404.html; location /404.html { root /srv/pandora/static/html; diff --git a/static/html/403.html b/static/html/403.html new file mode 100644 index 00000000..2fd78274 --- /dev/null +++ b/static/html/403.html @@ -0,0 +1,23 @@ + + + + We don't want to see this. + + + + + +
You don't want to see this.
+ +