gitea: stop Anubis challenging pull-request creation POSTs #1215

Merged
JakeHillion merged 1 commits from jj/urlqkwtzvvyn into main 2026-07-15 23:06:10 +01:00
+4 -1
View File
@@ -87,7 +87,10 @@ in
@anubis_assets path /.within.website/* @anubis_assets path /.within.website/*
reverse_proxy @anubis_assets http://${locations.services.gitea}:8923 reverse_proxy @anubis_assets http://${locations.services.gitea}:8923
@expensive path_regexp ^/[^/]+/[^/]+/(blame|commits|commit|compare|graph|activity|search|src/commit|raw/commit)(/.*)?$ @expensive {
not method POST
path_regexp ^/[^/]+/[^/]+/(blame|commits|commit|compare|graph|activity|search|src/commit|raw/commit)(/.*)?$
}
reverse_proxy @expensive http://${locations.services.gitea}:8923 reverse_proxy @expensive http://${locations.services.gitea}:8923
reverse_proxy http://${locations.services.gitea}:3000 reverse_proxy http://${locations.services.gitea}:3000