minus-squarea14o@feddit.orgtoSelfhosted@lemmy.world•Caddy reverse proxy fails with a login pagelinkfedilinkEnglisharrow-up3·5 hours agoSeems like the router doesn’t like how the headers are passed on. You could try: login.router.lan { reverse_proxy 192.168.1.1:80 { header_up Host {upstream_hostport} } } https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#headers linkfedilink
a14o@feddit.org to Programmer Humor@lemmy.mlEnglish · 5 months agoMadness or brilliancefeddit.orgexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkMadness or brilliancefeddit.orga14o@feddit.org to Programmer Humor@lemmy.mlEnglish · 5 months agomessage-square0fedilink
Seems like the router doesn’t like how the headers are passed on. You could try:
login.router.lan { reverse_proxy 192.168.1.1:80 { header_up Host {upstream_hostport} } }https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#headers