fix bind ip to prevent reverse proxy bypass

This commit is contained in:
OniriCorpe 2024-01-18 03:51:58 +01:00
parent 931afeadd6
commit 84b21528f3

View File

@ -129,7 +129,7 @@ const conf = convict({
}, },
listen_address: { listen_address: {
format: 'ipaddress', format: 'ipaddress',
default: '0.0.0.0', default: '127.0.0.1',
env: 'IP_ADDRESS' env: 'IP_ADDRESS'
}, },
listen_port: { listen_port: {