Skip to content

support for reverse proxy in front of web-proxy over http#26

Open
curiousercreative wants to merge 1 commit intosnikket-im:mainfrom
curiousercreative:reverse-proxy
Open

support for reverse proxy in front of web-proxy over http#26
curiousercreative wants to merge 1 commit intosnikket-im:mainfrom
curiousercreative:reverse-proxy

Conversation

@curiousercreative
Copy link
Copy Markdown
Contributor

@curiousercreative curiousercreative commented Feb 6, 2025

Attempts to make it easier to reverse proxy snikket. Together with this gist, solves snikket-im/snikket-selfhosted#13.

If accepted, next steps to consider:

  1. Update documentation for reverse proxy
  2. Add "advanced configuration" entry for configuration variable to put web-proxy into reverse proxy mode
  3. Add alternative (or override or companion) docker-compose.yml file and link in reverse proxy documentation.
  4. Disable reloading when reverse proxied.

Comment thread nginx/proxy.template
@@ -0,0 +1,69 @@
server {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How this file was derived:

  1. copy https template
  2. Remove all SSL bits
  3. Use http port

@justinmayer
Copy link
Copy Markdown

Everything I self-host is behind Traefik, an environment that handles TLS termination and that unfortunately Snikket does not currently seem to handle well. Hopefully changes like this PR will make it more feasible to use Snikket with Traefik 👍

@ficematt
Copy link
Copy Markdown

ficematt commented Mar 5, 2025

I also have everything behind Traefik. This PR would sure be helpful.

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.

3 participants