jfroment / seedbox

A Docker-powered seedbox with persistent data and more cool stuff.
MIT License
329 stars 45 forks source link

Usage without Traefik #41

Closed tazz4843 closed 1 year ago

tazz4843 commented 1 year ago

Hi there! I'm looking to use this project personally, but do not want to set up all these subdomains. As an attempted workaround, I did the following:

Example NGINX config:

    location /deluge {
        proxy_pass http://127.0.0.1:2190/;
        include nginxconfig.io/proxy.conf;
        proxy_redirect off;

        proxy_set_header Host deluge.mydomain.com;
        proxy_set_header X-Forwarded-Host deluge.mydomain.com;
    }

This has just resulted in 400 Bad Request errors, and given Traefik seems to refuse to output error logs no matter what I do to poke around, I've given up and am now curious if there's a way to bypass Traefik entirely, since it is completely useless in my use-case. I tried bypassing Traefik by opening the port directly in the VPN container, and setting NGINX to use that, however I run into issues with assets and other dependent requests resulting in 404.

tazz4843 commented 1 year ago

I gave up and ended up simply making the subdomains.