Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reverse proxy tutorial #102

Merged
merged 7 commits into from
Jul 8, 2024
Merged

Add reverse proxy tutorial #102

merged 7 commits into from
Jul 8, 2024

Conversation

sunstep
Copy link
Contributor

@sunstep sunstep commented Jul 5, 2024

I wrote a tutorial that could come in handy for users that would like to access Dawarich from a domain name. The guide is placed in the docs folder and a reference to it is made in the main page of this repository. The guide is written in a way that even an absolute beginner should be able to set up a reverse proxy.

It explains changing the APPLICATION_HOST environment variable to the proper value, and it includes two example configurations, where one is for Nginx and another for Apache2. It also includes enabling the proper modules for the Apache2 configuration, so the user does not run into trouble when trying out the example configuration.

I have tested out both provided configurations, and managed to navigate to my Dawarich instance without any issues. The Dawarich instance itself also worked properly.

Due to my lack of knowledge with other servers, I cannot provide examples for other servers such as Caddy or Traefik. But I assume that Nginx and Apache2 covers most users.

If anyone has managed to get reverse proxy working with another web server, then feel free to contribute.

@Freika Freika merged commit c8d89c9 into Freika:master Jul 8, 2024
@Freika
Copy link
Owner

Freika commented Jul 8, 2024

@sunstep thank you!

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.

None yet

2 participants