diff --git a/example/gitea-disable/files/403.html b/example/gitea-disable/files/403.html index ac4a0b0..f3a8177 100644 --- a/example/gitea-disable/files/403.html +++ b/example/gitea-disable/files/403.html @@ -7,7 +7,7 @@

403 Forbidden

-

Issues, Releases and Wiki are disabled for forked repositories. Please use the source repository for those.

+

Issues, Releases, Wiki and some settings are disabled for forked repositories. Please use the source repository for those.

Go Back

diff --git a/example/gitea-disable/files/nginx.conf b/example/gitea-disable/files/nginx.conf index 48a2708..c55bdc9 100644 --- a/example/gitea-disable/files/nginx.conf +++ b/example/gitea-disable/files/nginx.conf @@ -14,6 +14,7 @@ http { location / { error_page 403 /403.html; + set $test ""; if ($uri ~ ^/api) { set $test "api"; }