Do not forward / to original REKT server.
gitea/icedream/rekt-theme/master Something is wrong with the build of this commit
Details
gitea/icedream/rekt-theme/master Something is wrong with the build of this commit
Details
parent
09bb0081dd
commit
459efede9a
|
@ -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}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue