From f75e11db4fe4b36077bf43305d8317394f431763 Mon Sep 17 00:00:00 2001 From: Emanuele Laface <ema@morla.esss.lu.se> Date: Mon, 9 Mar 2020 16:40:39 +0100 Subject: [PATCH] Clearly not the last fix --- default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.conf b/default.conf index d813b8b..8c8b3f3 100644 --- a/default.conf +++ b/default.conf @@ -26,9 +26,9 @@ server { location ~ ^/(contacts) { root /usr/share/nginx/web; -# error_page 403 /errors/403/; + error_page 403 /errors/403/index.html; if ($giveaccess = 0) { - return /errors/403/; + return 403; } } -- GitLab