saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
571 stars 65 forks source link

Saltbox Behind Reverse Proxy #153

Closed SysSU closed 7 months ago

SysSU commented 12 months ago

Describe the problem On my home server I have installed Saltbox as a VM. My home server already has a reverse proxy using NginxProxyManager, and I only have one public IP. I want to be able to setup NginxProxyManager to proxy to my Saltbox VM.

Right now if I try to proxy to port 80 I get a "Too many redirects" error. And if I try to proxy to 443 I get a 421 response with a "Misdirected Request" message in the browser.

Describe any solutions you think might work I'm probably way off, but I think my first blocker is that I can only access Saltbox domains through HTTPS, and the SSL cert is not even valid.

Additional context None

owine commented 12 months ago

Try configure it the other way - port forward to Saltbox and then setup manual traefik rules to reverse proxy to your other services

saltydk commented 12 months ago

We should probably add some file provider docs bits in regards to Traefik.

saltydk commented 7 months ago

As this is kind of a duplicate of https://github.com/saltyorg/Saltbox/issues/127 I am closing it.