From Apache: AllowEncodedSlashes not allowed in <Proxy> context Move this out of <Proxy> block Fixes #7632tags/v1.21.12.1
| @@ -71,11 +71,11 @@ In case you already have a site, and you want Gitea to share the domain name, yo | |||||
| <Proxy *> | <Proxy *> | ||||
| Order allow,deny | Order allow,deny | ||||
| Allow from all | Allow from all | ||||
| AllowEncodedSlashes NoDecode | |||||
| </Proxy> | </Proxy> | ||||
| ProxyPass /git http://localhost:3000 nocanon # Note: no trailing slash after either /git or port | |||||
| ProxyPassReverse /git http://localhost:3000 # Note: no trailing slash after either /git or port | |||||
| AllowEncodedSlashes NoDecode | |||||
| # Note: no trailing slash after either /git or port | |||||
| ProxyPass /git http://localhost:3000 nocanon | |||||
| ProxyPassReverse /git http://localhost:3000 | |||||
| </VirtualHost> | </VirtualHost> | ||||
| ``` | ``` | ||||
| @@ -72,11 +72,11 @@ server { | |||||
| <Proxy *> | <Proxy *> | ||||
| Order allow,deny | Order allow,deny | ||||
| Allow from all | Allow from all | ||||
| AllowEncodedSlashes NoDecode | |||||
| </Proxy> | </Proxy> | ||||
| ProxyPass /git http://localhost:3000 nocanon # Note: no trailing slash after either /git or port | |||||
| ProxyPassReverse /git http://localhost:3000 # Note: no trailing slash after either /git or port | |||||
| AllowEncodedSlashes NoDecode | |||||
| # Note: no trailing slash after either /git or port | |||||
| ProxyPass /git http://localhost:3000 nocanon | |||||
| ProxyPassReverse /git http://localhost:3000 | |||||
| </VirtualHost> | </VirtualHost> | ||||
| ``` | ``` | ||||