Skip to content

Commit

Permalink
nginx: Disable listening for IPV6
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stickz committed May 23, 2024
1 parent efecd66 commit d634b1e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion rootfs/tpls/etc/nginx/conf.d/rpc.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
server {
listen @XMLRPC_PORT@;
listen [::]:@XMLRPC_PORT@;

root /dev/null;

Expand Down
1 change: 0 additions & 1 deletion rootfs/tpls/etc/nginx/conf.d/rutorrent.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
server {
listen @RUTORRENT_PORT@;
listen [::]:@RUTORRENT_PORT@;

root /var/www/rutorrent;
index index.html;
Expand Down
1 change: 0 additions & 1 deletion rootfs/tpls/etc/nginx/conf.d/webdav.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
server {
listen @WEBDAV_PORT@;
listen [::]:@WEBDAV_PORT@;

root /downloads/complete;

Expand Down

0 comments on commit d634b1e

Please sign in to comment.