summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/usage/reverse-proxies.en-us.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/doc/usage/reverse-proxies.en-us.md')
-rw-r--r--docs/content/doc/usage/reverse-proxies.en-us.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/doc/usage/reverse-proxies.en-us.md b/docs/content/doc/usage/reverse-proxies.en-us.md
index 24fb16e364..47a5b95572 100644
--- a/docs/content/doc/usage/reverse-proxies.en-us.md
+++ b/docs/content/doc/usage/reverse-proxies.en-us.md
@@ -71,11 +71,11 @@ In case you already have a site, and you want Gitea to share the domain name, yo
<Proxy *>
Order allow,deny
Allow from all
- AllowEncodedSlashes NoDecode
</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>
```