From 791014b661b0b7bc06cc6b7fc28aaef9dd6ef747 Mon Sep 17 00:00:00 2001 From: teddit Date: Wed, 16 Jun 2021 19:50:27 +0200 Subject: [PATCH] add explanation for listen_address --- config.js.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.js.template b/config.js.template index 5232c39..0c45c2c 100644 --- a/config.js.template +++ b/config.js.template @@ -14,7 +14,7 @@ const config = { redis_port: process.env.REDIS_PORT || 6379, ssl_port: process.env.SSL_PORT || 8088, nonssl_port: process.env.NONSSL_PORT || 8080, - listen_address: process.env.LISTEN_ADDRESS || '0.0.0.0', + listen_address: process.env.LISTEN_ADDRESS || '0.0.0.0', // '0.0.0.0' will accept connections only from IPv4 addresses. If you want to also accept IPv6 addresses use '::'. https_enabled: process.env.HTTPS_ENABLED === 'true' || false, redirect_http_to_https: process.env.REDIRECT_HTTP_TO_HTTPS === 'true' || false, redirect_www: process.env.REDIRECT_WWW === 'true' || false, @@ -72,3 +72,4 @@ const config = { }; module.exports = config; +