this post was submitted on 30 Jul 2023
6 points (71.4% liked)

Selfhosted

61512 readers
1339 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

What does it actually do? When it's on, I get a redirecting error when trying to connect to my nextcloud at cloud.example.com, but with it off, it seems like I can't connect to NC using http anyway? Am I misunderstanding what it does?

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] redcalcium@lemmy.institute 1 points 3 years ago

I just remember nextcloud has trusted_proxies option located in config/config.php file. Not configuring it (or configured it wrong) can cause nextcloud to not trust the HTTP_X_FORWARDED_PROTO header it received (it assumed to be spoofed).

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html