2025-01-14 10:10:15 +01:00

12 lines
242 B
Plaintext

server {
listen 80;
rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https
server_tokens off;
location = /robots.txt {
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
}
}