diff --git a/qbittorrent/rootfs/etc/services.d/nginx/run b/qbittorrent/rootfs/etc/services.d/nginx/run index fc0006275..8e38308bf 100644 --- a/qbittorrent/rootfs/etc/services.d/nginx/run +++ b/qbittorrent/rootfs/etc/services.d/nginx/run @@ -13,7 +13,7 @@ if [ -f /currentip ]; then exec nginx || nginx -s reload & \ while true; do # Get vpn ip - if bashio::config.true 'openvpn_alt_mode'; then + if ! bashio::config.true 'wireguard_enabled' && bashio::config.true 'openvpn_alt_mode'; then curl -s ipecho.net/plain > /vpnip else curl -s ipecho.net/plain --interface tun0 > /vpnip