NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

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

1fca3282
FreddleSpl0it <[email protected]> 1 year, 6 months ago
data/conf/nginx/templates/nginx.conf.j2 | 2 ++
 1 file changed, 2 insertions(+)

Diff

diff --git a/data/conf/nginx/templates/nginx.conf.j2 b/data/conf/nginx/templates/nginx.conf.j2
index 1e5481d9..a6f32ebb 100644
--- a/data/conf/nginx/templates/nginx.conf.j2
+++ b/data/conf/nginx/templates/nginx.conf.j2
@@ -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;