feat(deploy): CI/CD en Gitea Actions y entorno privado no indexable
Despliega el build de Vite en remigracion.jumpingcrab.com (mismo host que localesp.es), siguiendo el patrón de prototipo-yb01-ef.localesp.es: /opt/remigracion/dist + vhost nginx, sin unit de systemd por ser estático. - .gitea/workflows/deploy.yml: npm ci + build + deploy en cada push a master (y workflow_dispatch). El runner self-hosted corre como root en el host, así que no hacen falta SSH ni secretos. Verifica en el propio job que el bundle lleve meta robots y robots.txt. - scripts/deploy.sh: sincroniza dist/, etiqueta /opt/remigracion para SELinux (httpd_sys_content_t), instala el vhost si cambió (rollback si nginx -t falla), recarga nginx y comprueba 200 + X-Robots-Tag. - deploy/nginx.conf: vhost HTTP-only (el DNS no permite Let's Encrypt) con X-Robots-Tag en todas las respuestas, 403 a user-agents de buscadores, agregadores SEO y crawlers de IA, robots.txt servido inline y fallback SPA. - public/robots.txt y <meta name="robots"> en index.html: noindex, nofollow, noarchive, nosnippet, noimageindex, notranslate. - README: sección de despliegue con rutas, comandos y capas anti-indexación.
This commit is contained in:
@@ -6,6 +6,12 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Remigración.es | La remigración es inevitable</title>
|
||||
<meta name="description" content="La remigración es inevitable. Información, medidas y precedentes históricos." />
|
||||
<!-- Entorno privado de previsualización: fuera de buscadores, agregadores y
|
||||
crawlers de IA. Se refuerza en el servidor con X-Robots-Tag,
|
||||
USER-AGENT blocking y robots.txt (deploy/nginx.conf). -->
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex, notranslate" />
|
||||
<meta name="googlebot" content="noindex, nofollow, noarchive, nosnippet, noimageindex, notranslate" />
|
||||
<meta name="bingbot" content="noindex, nofollow, noarchive, nosnippet, noimageindex, notranslate" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
|
||||
Reference in New Issue
Block a user