this post was submitted on 29 Nov 2023
13 points (93.3% liked)

Selfhosted

50093 readers
584 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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?

top 15 comments
sorted by: hot top controversial new old
[–] empireOfLove@lemmy.one 8 points 2 years ago (2 children)
[–] ckeph@lemmy.world 4 points 2 years ago (1 children)

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 1 points 2 years ago (1 children)

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.

[–] ckeph@lemmy.world 1 points 2 years ago

Ah I see that is a good point I had not considered!

[–] fiddlestix@lemmy.world 2 points 2 years ago (1 children)

Oof. That's bad news. I don't have that bit of kit on my setup though. Luckily.

[–] empireOfLove@lemmy.one 1 points 2 years ago (1 children)

...I thought you just said you're running OwnCloud?

[–] fiddlestix@lemmy.world 3 points 2 years ago

Yeah but the report says the vulnerability is related to graphapi which doesn't seem to be a part of all OwnCloud installations. I can't see it on mine either.

[–] t0m5k1@lemmy.world 2 points 2 years ago

What env vars are you using for the docker and what's in the config.php?

[–] nate3d@lemmy.world 2 points 2 years ago (2 children)

If you’re hosting via docker, I highly recommend deploying a Traefik container as it is a phenomenal reverse proxy to pair with containerized hosting

[–] fiddlestix@lemmy.world 1 points 2 years ago

Thanks for the rec. I've got all my stuff running through NPM and am loath to change it just for this one (annoying) thing!

[–] Damage@slrpnk.net 1 points 2 years ago

What are the advantages over Nginx Proxy Manager?

[–] ad_on_is@lemmy.world 1 points 2 years ago

Not familiar with owncloud.

But can't you set something like "http://127.0.0.1" as domain?

[–] Decronym@lemmy.decronym.xyz 1 points 2 years ago* (last edited 2 years ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
nginx Popular HTTP server

2 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.

[Thread #312 for this sub, first seen 29th Nov 2023, 21:55] [FAQ] [Full list] [Contact] [Source code]

[–] fiddlestix@lemmy.world 0 points 2 years ago

Ah, thank-you so much!

[–] fiddlestix@lemmy.world 0 points 2 years ago

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.