gitea: stop Anubis challenging pull-request creation POSTs #1215
@@ -87,7 +87,10 @@ in
|
||||
@anubis_assets path /.within.website/*
|
||||
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 http://${locations.services.gitea}:3000
|
||||
|
||||
Reference in new issue
Block a user