1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/gitea/templates/gitea.conf.j2

14 lines
381 B
Text
Raw Normal View History

# All URLs go to Gitea web server. Static content is bundled in the executable.
ProxyRequests off
ProxyPass {{ gitea_url }}/ http://localhost:{{ gitea_port }}/
<Location {{ gitea_url }}/>
ProxyPassReverse /
ProxyHTMLEnable On
ProxyHTMLURLMap / {{ gitea_url }}/
RequestHeader unset Accept-Encoding
</Location>
# Disable TRACE to prevent cross-site tracing
TraceEnable off