2018-07-13 12:21:24 +00:00
|
|
|
http://:80
|
|
|
|
|
|
|
|
root /htdocs/
|
2019-03-16 00:39:26 +00:00
|
|
|
|
|
|
|
# Forward non-existent paths to original REKT server.
|
|
|
|
# See https://github.com/mholt/caddy/issues/695#issuecomment-201871982
|
|
|
|
rewrite {
|
|
|
|
to {path} /proxy/{uri}
|
|
|
|
}
|
|
|
|
proxy /proxy https://rekt.fm {
|
2019-03-16 01:53:37 +00:00
|
|
|
header_upstream Host rekt.fm
|
2019-03-16 00:49:21 +00:00
|
|
|
transparent
|
2019-03-16 00:39:26 +00:00
|
|
|
without /proxy
|
|
|
|
}
|