Feat: Sitemap y Robots
This commit is contained in:
@@ -5,6 +5,11 @@ server {
|
||||
# Seguridad: Limitar tamaño de subida para prevenir DoS
|
||||
client_max_body_size 20M;
|
||||
|
||||
# Sitemap dinámico (generado por backend en volumen compartido)
|
||||
location = /sitemap.xml {
|
||||
alias /usr/share/nginx/html/sitemap-data/sitemap.xml;
|
||||
}
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
|
||||
15
Frontend/public/robots.txt
Normal file
15
Frontend/public/robots.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
Disallow: /perfil
|
||||
Disallow: /seguridad
|
||||
Disallow: /mis-avisos
|
||||
Disallow: /admin
|
||||
Disallow: /restablecer-clave
|
||||
Disallow: /verificar-email
|
||||
Disallow: /confirmar-cambio-email
|
||||
Disallow: /baja/
|
||||
Disallow: /pago-confirmado
|
||||
Disallow: /baja-exitosa
|
||||
Disallow: /baja-error
|
||||
|
||||
Sitemap: https://motoresargentinos.com/sitemap.xml
|
||||
Reference in New Issue
Block a user