Hello
i have a problem with my swag setup, i can’t reverse-proxy some local ip. Some work, others don’t
I have a 404 or 502 error, but if i curl the server (eg http://192.168.0.10:8080) from the container and from the host, it responds.
I have a doubt about the network_mode to choose.
Here is my docker compose for the stack i created in portainer:
services:
swag:
image: linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
- URL=xxxxxxxxxxx
- VALIDATION=http
ports:
- 443:443
- 80:80
volumes:
- /volume1/Docker/Swag/config/:/config
- /var/log/auth.log:/log/host_ssh_auth.log:ro
- /volume1/Docker/LetsEncrypt/etc:/config/etc
restart: always
deluge:
image: doggosrocko/arch-delugevpn-armhf
container_name: deluge
restart: always
cap_add:
- NET_ADMIN
ports:
- 8112:8112
- 8118:8118
- 58846:58846
- 58946:58946
environment:
- PUID=0
- PGID=0
- VPN_ENABLED=yes
- VPN_PROV=pia
- VPN_USER=xxxxxx
- VPN_PASS=xxxxxxx
- ENABLE_PRIVOXY=yes
- LAN_NETWORK=192.168.0.0/24
- NAME_SERVERS=209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4
- UMASK=000
- DEBUG=false
- DELUGE_DAEMON_LOG_LEVEL=info
- DELUGE_WEB_LOG_LEVEL=debug
volumes:
- /volume1/Docker/Swag/config/deluge:/config
- /volume1/Media/Downloads:/data
- /etc/localtime:/etc/localtime:ro