From d634b1e83da3129eedd4c8ede5573d2a08d86ffd Mon Sep 17 00:00:00 2001 From: stickz Date: Thu, 23 May 2024 12:31:28 -0400 Subject: [PATCH] nginx: Disable listening for IPV6 fixes #348 There is no point in supporting IPV6 on this docker container. IPV4 is required anyways for rTorrent to function properly. If the user disables loading the IPV6 kernel module at boot time, the docker container will fail to initialize if nginx is listening for IPV6. --- rootfs/tpls/etc/nginx/conf.d/rpc.conf | 1 - rootfs/tpls/etc/nginx/conf.d/rutorrent.conf | 1 - rootfs/tpls/etc/nginx/conf.d/webdav.conf | 1 - 3 files changed, 3 deletions(-) diff --git a/rootfs/tpls/etc/nginx/conf.d/rpc.conf b/rootfs/tpls/etc/nginx/conf.d/rpc.conf index b5b0b1e5..71f3b6a1 100644 --- a/rootfs/tpls/etc/nginx/conf.d/rpc.conf +++ b/rootfs/tpls/etc/nginx/conf.d/rpc.conf @@ -1,6 +1,5 @@ server { listen @XMLRPC_PORT@; - listen [::]:@XMLRPC_PORT@; root /dev/null; diff --git a/rootfs/tpls/etc/nginx/conf.d/rutorrent.conf b/rootfs/tpls/etc/nginx/conf.d/rutorrent.conf index 0bc78945..81642971 100644 --- a/rootfs/tpls/etc/nginx/conf.d/rutorrent.conf +++ b/rootfs/tpls/etc/nginx/conf.d/rutorrent.conf @@ -1,6 +1,5 @@ server { listen @RUTORRENT_PORT@; - listen [::]:@RUTORRENT_PORT@; root /var/www/rutorrent; index index.html; diff --git a/rootfs/tpls/etc/nginx/conf.d/webdav.conf b/rootfs/tpls/etc/nginx/conf.d/webdav.conf index 046a6b77..b9934bb2 100644 --- a/rootfs/tpls/etc/nginx/conf.d/webdav.conf +++ b/rootfs/tpls/etc/nginx/conf.d/webdav.conf @@ -1,6 +1,5 @@ server { listen @WEBDAV_PORT@; - listen [::]:@WEBDAV_PORT@; root /downloads/complete;