diff --git a/conf/config.conf b/conf/config.conf index 266d000..e7bc21b 100644 --- a/conf/config.conf +++ b/conf/config.conf @@ -131,7 +131,8 @@ irc.network2.org = webirc_password [dnsbl] # "verify" - if the client supports it, tell it to show a captcha # "deny" - deny the connection entirely -action = verify +## notes for yunohost: it looks like the code accepts other values than deny and verify +action = none [dnsbl.servers] dnsbl.dronebl.org diff --git a/conf/nginx.conf b/conf/nginx.conf index e424dc1..43f9646 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,10 +9,12 @@ location /webirc/ { # Set http version and headers proxy_http_version 1.1; + proxy_redirect default; # Add X-Forwarded-* headers proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; # Allow upgrades to websockets