1
0
Fork 0
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:
Aidan Fitzgerald 2019-03-07 18:44:47 -05:00
parent c4aa784b8c
commit a8c24dde1f

View file

@ -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