Do not forward / to original REKT server.
gitea/icedream/rekt-theme/master Something is wrong with the build of this commit Details

master
Icedream 2019-03-16 01:48:01 +01:00
parent 09bb0081dd
commit 459efede9a
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 0 additions and 4 deletions

View File

@ -4,10 +4,6 @@ root /htdocs/
# Forward non-existent paths to original REKT server. # Forward non-existent paths to original REKT server.
# See https://github.com/mholt/caddy/issues/695#issuecomment-201871982 # See https://github.com/mholt/caddy/issues/695#issuecomment-201871982
rewrite {
if {path} is /
to /proxy/{uri}
}
rewrite { rewrite {
to {path} /proxy/{uri} to {path} /proxy/{uri}
} }