From 24bfc54a6f9f17e7f5e11793ecafbe8101dde4e0 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Wed, 3 Apr 2024 01:09:26 +0200 Subject: ircbot: update nginx config after sourcehut migration Since January 2024, Sourcehut infra has moved to the EU. Their IP block was changed. Update our nginx config accordingly. Signed-off-by: Robin Jarry Tested-by: Bence Ferdinandy --- contrib/ircbot/nginx.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'contrib/ircbot/nginx.conf') diff --git a/contrib/ircbot/nginx.conf b/contrib/ircbot/nginx.conf index b68f860a..3a0b4a13 100644 --- a/contrib/ircbot/nginx.conf +++ b/contrib/ircbot/nginx.conf @@ -12,9 +12,8 @@ server { limit_req zone=aercbot burst=10 nodelay; location / { - allow 173.195.146.144; - allow 2604:bf00:710:0:5054:ff:fec4:6bfb; - allow 2a01:cb00:f8b:9700:84d0:c0d6:72c3:677c; + allow 46.23.81.128/25; + allow 2a03:6000:1813::/48; deny all; proxy_http_version 1.1; proxy_set_header Host $http_host; -- cgit