Skip to content

Support for Multiple Domain names (instance behind reverse proxy)#2256

Open
ObadaS wants to merge 2 commits intodevelopfrom
multiple_domains
Open

Support for Multiple Domain names (instance behind reverse proxy)#2256
ObadaS wants to merge 2 commits intodevelopfrom
multiple_domains

Conversation

@ObadaS
Copy link
Collaborator

@ObadaS ObadaS commented Mar 11, 2026

A brief description of the purpose of the changes contained in this PR.

If the instance is deployed behind a reverse proxy, which then proxies the requests via HTTPS, there can be some errors related to CSRF which are fixed in this PR.

If the DOMAIN_NAME is not the same as the external domain name for the website, some things like emails will use an unknown domain name as the URL, this PR fixes this.

To fix these problems, use the new EXTERNAL_DOMAIN_NAME variable in the .env, setting it to the domain name that is available externally while keeping the DOMAIN_NAME locally accessible.

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@ObadaS ObadaS marked this pull request as ready for review March 11, 2026 14:32
@ObadaS ObadaS requested a review from Didayolo March 11, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant