Can't get my Nextcloud AIO working with caddy reverse proxy (Docker) #6084
Replies: 1 comment 4 replies
-
Hi, can you follow https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#6-how-to-debug-things? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After successfully setting up Nextcloud AIO in reverse proxy mode, I'm unfortunately getting "The page isn’t redirecting properly" errors in Firefox, after trying for hours what ChatGPT 3o-mini-high suggests to me for troubleshooting.
I'm kind of a noob and running my homelab as a sidequest, I don't know how to proced here anymore.
Config.php:
My Docker compose:
from caddy stack:
Caddyfile:
Nextcloud containers (master and apache) and caddy are in the same docker network. I did a curl to the nextcloud apache container and pasted the response into chatgpt, here the response:
The repeated redirect (308/302) usually means Nextcloud still isn’t “happy” with the URL it’s using—even though Caddy is terminating TLS correctly. In many cases, this is caused by Nextcloud’s overwrite settings.
I have Adguard home running as my local DNS server (all this runs on a QNAP NAS). DNS rewrite there is implemented. Cloudflare is set up.
I've also tried this, but the error didn't change:
#575 (comment)
Any help is really appreciated!
Beta Was this translation helpful? Give feedback.
All reactions