-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Improovements on installation without cert and reverse proxy #161
Comments
Can you access nextcloud using your internal ip ? If yes then the caddy config is correct but the reverse proxy nginx probably has an issue. I use a similar setup as you running the caddy no-ssl config and have another reverse proxy. (caddy again). |
After a bit of tinkering, I managed to get access via plain http. Still, the nginx reverse proxy shows a "blank" page. It seems the redirect to the login is not followed, allthough I can't see why that doesn't happen. This is my Caddy config:
and this my Nginx reverse proxy config:
|
Okay, after thinking through the whole config from the beginning again, I figured I messed it up with the The issue itself seems solved to me, so I could close it. But I'd be happy if we first could sort out if such config (meaning this particular way) does even make sense or if it would make more "sense" to throw away the |
I usually use this script to setup Nextcloud instances on Free-/TrueNAS that use either self signed certs or Let's Encrypt certs, which always went fine. But now I'm confronting the situation where I have to use a reverse proxy to allow hosting of multiple sites on the same public IPv4. I'm using Nginx for that task and everything runs fine as long as I set the proxy to reencrypt the traffic (Client --<TLS>--> Nginx --<TLS>--> Caddy/Nextcloud). For performance reasons (low power CPU, proxy -> caddy communication over virtual net in the same machine) I tried to disable TLS on the Caddy/Nextcloud side (using the NO_CERT template), but I am unable to get a working connection that way. I kept all proxy rules in the Nextcloud config to ensure the rewrites don't mess around, but still I just get blank pages.
I'd appreciate to get any input that might help resolve this issue and I'm willing to perform a PR after adding such setup to the script.
Regards
The text was updated successfully, but these errors were encountered: