1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kiwiirc_ynh.git synced 2024-09-03 19:35:59 +02:00
This commit is contained in:
Salamandar 2024-02-05 16:41:15 +01:00
parent 29195dd1a4
commit 3c6c85eaad
2 changed files with 4 additions and 1 deletions

View file

@ -131,7 +131,8 @@ irc.network2.org = webirc_password
[dnsbl] [dnsbl]
# "verify" - if the client supports it, tell it to show a captcha # "verify" - if the client supports it, tell it to show a captcha
# "deny" - deny the connection entirely # "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.servers]
dnsbl.dronebl.org dnsbl.dronebl.org

View file

@ -9,10 +9,12 @@ location /webirc/ {
# Set http version and headers # Set http version and headers
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_redirect default;
# Add X-Forwarded-* headers # Add X-Forwarded-* headers
proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
# Allow upgrades to websockets # Allow upgrades to websockets