Nextcloud reverse proxy configuration
(from https://discord.com/channels/713503345364697088/727689277219012669/1204859454462369833)
(cc @Vin @Brody)
Nextcloud needs to be told that it's behind a reverse proxy, and what reverse proxy it's behind. I'm not sure how to do this without terminal access.
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
Solution:Jump to solution
Huzzah, I got it working! I filled in the
TRUSTED_PROXIES
, OVERWRITEHOST
, and OVERWRITEPROTOCOL
variables from the imagenextcloud - Official Image | Docker Hub
Nextcloud manual docker image
19 Replies
Are you using a custom domain? Or the Railway domain?
do you think aleks will miss the 10 min window
Probably! π€£
lets see
And he missed the 10 minute window! π€£
Custom domain
I'm not seeing that error when I setup a new deploy
843f00ff-8688-41cc-adef-d4920bd94b43
aleks how did you miss the 10 minute window, did you forget about it
I just deployed it a couple of days ago
I got up to walk the dog
aka yes
yeah, I did
oh wait
NEXTCLOUD_TRUSTED_DOMAINS
sorry
ohhhh I need to redeploy it for it to get that var in after setting up a custom domain
dont worry, vin has let that slip his mind too
nope, still not working
Solution
Huzzah, I got it working! I filled in the
TRUSTED_PROXIES
, OVERWRITEHOST
, and OVERWRITEPROTOCOL
variables from the imagenextcloud - Official Image | Docker Hub
Nextcloud manual docker image
Hello everyone, nice to see you guys are mocking eachother.
Im exploring Nextcloud and I ran into a similiar issue. Ive deployed it, it works from the railway domain. When Ive added the the custom domain in railway I receive this message when I try to access it from the custom domain.
I guess I have to follow aleks's steps to get it running, right? What are the values for TRUSTED_PROXIES, OVERWRITEHOST, and OVERWRITEPROTOCOL? Thank you for patience with my noobish question, please help me what is propably obvious... π
this should be what you want, untested though -
yes that works. thanks!
no problem