# All URLs go to Gitea web server. Static content is bundled in the executable. ProxyPreserveHost On ProxyRequests off Order allow,deny Allow from all # Note: no trailing slash after either {{ gitea_url }} or port ProxyPass {{ gitea_url }} http://localhost:{{ gitea_port }} ProxyPassReverse {{ gitea_url}} http://localhost:{{ gitea_port }} RequestHeader unset Accept-Encoding RedirectMatch ^{{ gitea_url }}$ {{ gitea_url }}/ # Disable TRACE to prevent cross-site tracing TraceEnable off