Add 403 message which describes the problem

This commit is contained in:
Adam Outler
2026-02-08 02:33:11 +00:00
parent 3510afec7a
commit 9c4e02f565
2 changed files with 66 additions and 0 deletions

View File

@@ -117,6 +117,7 @@ http {
location /server/ {
# 1. Enforcement
error_page 403 /403_internal.html;
if ($is_trusted != "TRUSTED") {
return 403;
}