summaryrefslogtreecommitdiff
path: root/configs/nginx/loc-login.conf
diff options
context:
space:
mode:
Diffstat (limited to 'configs/nginx/loc-login.conf')
-rw-r--r--configs/nginx/loc-login.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/nginx/loc-login.conf b/configs/nginx/loc-login.conf
new file mode 100644
index 00000000..2c4a7998
--- /dev/null
+++ b/configs/nginx/loc-login.conf
@@ -0,0 +1,2 @@
+error_page 401 = @login;
+error_page 403 = @login;