Forward non-existent paths to original REKT server.
gitea/icedream/rekt-theme/master This commit looks good
Details
gitea/icedream/rekt-theme/master This commit looks good
Details
parent
3a75b52dc5
commit
09bb0081dd
|
@ -1,3 +1,16 @@
|
|||
http://:80
|
||||
|
||||
root /htdocs/
|
||||
|
||||
# Forward non-existent paths to original REKT server.
|
||||
# See https://github.com/mholt/caddy/issues/695#issuecomment-201871982
|
||||
rewrite {
|
||||
if {path} is /
|
||||
to /proxy/{uri}
|
||||
}
|
||||
rewrite {
|
||||
to {path} /proxy/{uri}
|
||||
}
|
||||
proxy /proxy https://rekt.fm {
|
||||
without /proxy
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue