September 28, 20223 yr I have followed spaceinvaderone and ibracorp videos exactly and have swag up and running using duckdns and cloudflare. I can access my swag instance at swag.domain.com but when I try to access filebrowser.domain.com the browser spins for a minute before I see a cloudflare timeout error. Steps I’ve taken: forward ports 80 and 443 to 180 and 1443 (used by swag) setup dyndns with duckdns create CNAMEs in cloudflare for various containers Enable “preserve user networks” in docker settings and restarted docker service created a custom docker network and placed swag and desired containers on the network renamed containers to match the "proxy-conf" settings, as well as matched the ports ("filebrowser", "8080") tried both spaceinvaderone and Ibracorp methods to route dns to containers using docker socket: changed proxy-conf files from “.conf.sample” to “.conf”, and changed the upstream port to match the container’s webui port AND added the auto-proxy mod to swag and “swag” label with to each container with value “enable” restarted containers and swag I could really use some help troubleshooting.
September 29, 20223 yr Author Friendly user Davo1624 on the Unraid discord was able to help me troubleshoot, it turned out to be the 4th point in the SWAG `502` docs: https://docs.linuxserver.io/general/swag#502. I had run swag before I setup the custom docker network. - I had to point the filebrowser proxy-conf at port 80, since that is what filebrowser uses by default - Running `docker exec swag cat /config/nginx/resolver.conf` returned an ip on my subnet like `192.168.1.254`, which was incorrect. - I removed the `resolver.conf` file, `rm /mnt/user/appdata/swag/nginx/resolver.conf` - Restarted swag - Now, `docker exec swag cat /config/nginx/resolver.conf` returned a local ip like `127.0.0.11` and everything worked!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.