Files
mta-sts/nginx/default.conf
mifi 37732fd0be
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
Fixes for crawler errors
2026-02-18 13:42:28 -03:00

19 lines
453 B
Plaintext

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Prevent search engines from indexing MTA-STS policy (technical file, not for search)
location /.well-known/ {
root /usr/share/nginx/html;
add_header X-Robots-Tag "noindex, nofollow";
try_files $uri =404;
}
location / {
try_files $uri $uri/ =404;
}
}