Fixes for crawler errors
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-02-18 13:42:28 -03:00
parent 71065d3f8f
commit 37732fd0be
2 changed files with 11 additions and 0 deletions

3
html/robots.txt Normal file
View File

@@ -0,0 +1,3 @@
# MTA-STS policy files are for email security only; no need to index
User-agent: *
Disallow: /.well-known/

View File

@@ -4,6 +4,14 @@ server {
server_name _; server_name _;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.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 / { location / {
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
} }