mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Add Apache config file (might need more tweaks)
This commit is contained in:
parent
a7e4b04eba
commit
a66d4ed636
1 changed files with 13 additions and 0 deletions
13
roles/gitea/templates/gitea.conf.j2
Normal file
13
roles/gitea/templates/gitea.conf.j2
Normal file
|
@ -0,0 +1,13 @@
|
|||
# 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
|
Loading…
Reference in a new issue