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.
27 lines
1.3 KiB
HTML
27 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
<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
|
|
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;900&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.jsx"></script>
|
|
</body>
|
|
</html>
|