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?
in nginx:
server { ... location / { ... proxy_pass https://redacted.......; proxy_pass_request_headers on; proxy_pass_header Set-Cookie; proxy_set_header HOST $host; proxy_set_header Referer $http_referer; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ... } }
I think the was a trusted proxy setting in owncloud itself that needed to be set too, or maybe I’m thinking of another service.
empireOfLove@lemmy.one 11 months ago
FYI, read this.
ckeph@lemmy.world 11 months ago
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 :)
fiddlestix@lemmy.world 11 months ago
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.
fiddlestix@lemmy.world 11 months ago
Oof. That’s bad news. I don’t have that bit of kit on my setup though. Luckily.
empireOfLove@lemmy.one 11 months ago
…I thought you just said you’re running OwnCloud?