1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-13 09:56:01 +00:00

[Nginx] Disable IPv6 listener for Rspamd dynmaps when DISABLE_IPv6=y

This commit is contained in:
FreddleSpl0it
2025-01-22 15:11:46 +01:00
parent 7bcd61ecb5
commit 1fca328266

View File

@@ -65,7 +65,9 @@ http {
# rspamd dynmaps:
server {
listen 8081;
{% if not DISABLE_IPv6 %}
listen [::]:8081;
{%endif%}
index index.php index.html;
server_name _;
error_log /var/log/nginx/error.log;