aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/ircbot/nginx.conf
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-04-03 01:09:26 +0200
committerRobin Jarry <robin@jarry.cc>2024-06-28 23:33:12 +0200
commit24bfc54a6f9f17e7f5e11793ecafbe8101dde4e0 (patch)
treed17f6f3b985036b5214c027f61a043ef64b3544a /contrib/ircbot/nginx.conf
parentdf06d6558622a089b04a3ac6315c950967c1a49d (diff)
downloadaerc-24bfc54a6f9f17e7f5e11793ecafbe8101dde4e0.tar.gz
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 <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'contrib/ircbot/nginx.conf')
-rw-r--r--contrib/ircbot/nginx.conf5
1 files changed, 2 insertions, 3 deletions
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;