Compare commits

...

2 Commits

Author SHA1 Message Date
Martin
71c6675638 Merge branch 'master' of https://git.smartinspace.tech/martin/configs 2025-04-02 12:38:19 +02:00
Martin
7c605017c5 cloudflare_ip 2025-04-02 12:37:56 +02:00

View File

@ -6,6 +6,16 @@ server {
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
}
real_ip_recursive on;
real_ip_header CF-Connecting-IP;
set_real_ip_from 173.245.48.0/20;
set_real_ip_from 103.21.244.0/22;
#SSL configuration
listen 443 ssl http2;
listen [::]:443 ssl http2;