How do I proxy a resource on Github with Caddy? This doesn’t work:
proxy /jb http://data.hazewatchapp.com/index_v2.json {
transparent
}
What am I missing? I’m using current versions of abiosoft/caddy:php btw!
How do I proxy a resource on Github with Caddy? This doesn’t work:
proxy /jb http://data.hazewatchapp.com/index_v2.json {
transparent
}
What am I missing? I’m using current versions of abiosoft/caddy:php btw!
I do not think you can proxy directly to a path. You can try something like this.
rewrite /jb {
to /jb/index_v2.json
}
proxy /jb http://data.hazewatchapp.com {
without /jb
transparent
}
That didn’t work. Actually I can keep the same path.
So now proxy /index_v2.json http://data.hazewatchapp.com
works! https://jbsg.dabase.com/index_v2.json
Thank you!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.