mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
use regex to redirect
This commit is contained in:
parent
c4aa784b8c
commit
a8c24dde1f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ ProxyPassReverse {{ gitea_url}} http://localhost:{{ gitea_port }}
|
||||||
RequestHeader unset Accept-Encoding
|
RequestHeader unset Accept-Encoding
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
Redirect {{ gitea_url }} {{ gitea_url }}/
|
RedirectMatch ^{{ gitea_url }}$ {{ gitea_url }}/
|
||||||
|
|
||||||
# Disable TRACE to prevent cross-site tracing
|
# Disable TRACE to prevent cross-site tracing
|
||||||
TraceEnable off
|
TraceEnable off
|
||||||
|
|
Loading…
Reference in a new issue