Skip to content

Commit 43c3fc1

Browse files
authored
Merge pull request #11680 from internetarchive/hotfix/nginx-conf
Remove is_blessed_ip from repo
2 parents 5f627b7 + ace9df0 commit 43c3fc1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docker/nginx.conf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,8 @@ http {
5555
# These rules only do anything if invoked, e.g., in web_nginx.conf.
5656
# TLDR: these rules can be disabled in `docker/web_nginx.conf`
5757
# and `docker/covers_nginx.conf`.
58-
geo $is_blessed_ip {
59-
255.0.0.0 1; # Internal
60-
207.241.224.0/20 1; # In cluster traffic
61-
default 0; # All other traffic
62-
}
6358

59+
include /olsystem/etc/nginx/is_blessed_ip.conf; # Provides $is_blessed_ip
6460
include /olsystem/etc/nginx/is_blessed_ua.conf; # Provides $is_blessed_ua
6561
include /olsystem/etc/nginx/is_sus_ip.conf; # Provides $is_sus_ip
6662

0 commit comments

Comments
 (0)