mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-20 13:21:30 +00:00
[Nginx] Disable IPv6 listener for Rspamd dynmaps when DISABLE_IPv6=y
This commit is contained in:
@@ -65,7 +65,9 @@ http {
|
|||||||
# rspamd dynmaps:
|
# rspamd dynmaps:
|
||||||
server {
|
server {
|
||||||
listen 8081;
|
listen 8081;
|
||||||
|
{% if not DISABLE_IPv6 %}
|
||||||
listen [::]:8081;
|
listen [::]:8081;
|
||||||
|
{%endif%}
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
server_name _;
|
server_name _;
|
||||||
error_log /var/log/nginx/error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
|
|||||||
Reference in New Issue
Block a user