mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +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
|
||||
</Location>
|
||||
|
||||
Redirect {{ gitea_url }} {{ gitea_url }}/
|
||||
RedirectMatch ^{{ gitea_url }}$ {{ gitea_url }}/
|
||||
|
||||
# Disable TRACE to prevent cross-site tracing
|
||||
TraceEnable off
|
||||
|
|
Loading…
Reference in a new issue