I'm running OwnCloud in Docker and have setup NGinx as a reverse proxy. This works perfectly for all my other services, but OwnCloud keeps throwing the untrusted domain error. I've edited the config.php file to add my exampledemain.com but no dice. Does anybody know what I need to do?
Yes please unless you want to fiddle with authentication services and their configuration sudoku I would recommend using a vpn or vpn service like tailscale (very user friendly) to access your services when not home.
If you want to continue with this id recommend looking into authelia or authentik to add an additional layer of security :)
That is very true. I've got Tailscale setup and I can get into it through that. Unfortunately I can't put Tailscale on my work machines, so having access via the web would be useful.
Thanks a lot. Whereabouts do I add it to Nginx? Do I need to do this through the dashboard for the proxy host or is there something in docker that I need to add?
Sounds like you're using nginx proxy Manager, a web based frontend for nginx. If so, you have to edit your existing host, change to custom locations, add one with "/" as the address and the same containername and port. Then click the cogwheel in this entry to open a text box for custom rules. You can paste the following lines into there:
I configure nginx with text condig files.
No clue how or where that is in your setup, but presumably somewhere where you configure the proxypass and server names.
Yeah see I'm not even sure what the env vars are. I'm running it with docker-compose and the only alterations I've made to anything are to add my IP address to the config file in the trusted domains array. That's definitely where it needs to go because if I take it out then it flops hard.