Skip to content

Commit 66ea11f

Browse files
authored
update googlebot ulr (#745)
1 parent d20ee58 commit 66ea11f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pillar/ufw_simple/http_https_googlebot.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ufw_simple:
55
http_https_googlebot:
66
proto: 'tcp'
77
from:
8-
{% set googlebot_nets = salt["cmd.shell"]("curl -Ss https://developers.google.com/search/apis/ipranges/googlebot.json |jq -r '.prefixes | .[] |.ipv4Prefix//empty,.ipv6Prefix//empty'") %}
8+
{% set googlebot_nets = salt["cmd.shell"]("curl -Ss https://developers.google.com/static/crawling/ipranges/common-crawlers.json |jq -r '.prefixes | .[] |.ipv4Prefix//empty,.ipv6Prefix//empty'") %}
99
{% for googlebot_net in googlebot_nets.split("\n") %}
1010
googlebot_{{ loop.index }}: {{ googlebot_net }}
1111
{% endfor %}

0 commit comments

Comments
 (0)