Dear community! I am running into an issue i cant seem to resolve/troubleshoot myself
- explain what you are trying to do,
Use caddy to reverse proxy to different backends. Got parts working. Only reverse proxying to nextcloud snap doesnt work.
The part of my caddyfile:
wouterverduin.nl {
gzip
proxy / 192.168.1.131:444 {
transparent
}
}
- show what you have already tried,
- In the nextcloud snap; added localhost to trusted_proxies as required by the snap
- curl -ILH wouterverduin.nl 192.168.1.131:444 → Empry reply from server ( with e.g. other service it gets an reply with similar command)
- include error messages and log output,
04/Jun/2019:17:13:30 +0200 [ERROR 502 /favicon.ico] EOF
04/Jun/2019:17:16:07 +0200 [ERROR 502 /index.php/204] EOF
- and link to any relevant resources.
[Reverse proxy — Nextcloud 15 Administration Manual 15 documentation](http://Nextcloud instructions)
Are there further ways to troubleshoot this? more precise: Is there a way to find out if the problem is within caddy or the nextcloud snap?