fix(despliegue): dominio canónico collinasystems.com
CI / Tipos, build, contenido y Lighthouse (push) Has been cancelled
CI / Imagen Docker (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fernando Davila OyarzabalandClaude Opus 5.5 committed 2026-11-10 15:01:44 -06:00
1 parent 57c7cddf67
commit 80934bb826
10 files changed
+77 -7

No files matched your search

+23 -1
View File
@@ -2,10 +2,22 @@
# de Traefik (Coolify), que termina TLS. Las cabeceras de seguridad se incluyen
# en cada location porque add_header no se hereda cuando un bloque define otras.
# Dominios secundarios: 301 al dominio canónico conservando la ruta.
server {
listen 8080;
listen [::]:8080;
server_name _;
server_name collinasystems.com.mx www.collinasystems.com.mx www.collinasystems.com;
server_tokens off;
location / {
return 301 https://collinasystems.com$request_uri;
}
}
# Dominio canónico. default_server: el healthcheck por 127.0.0.1 cae aquí.
server {
listen 8080 default_server;
listen [::]:8080 default_server;
server_name collinasystems.com _;
root /usr/share/nginx/html;
index index.html;
@@ -50,6 +62,16 @@ server {
error_page 404 /404.html;
# Rutas del sitio anterior.
location = /Productos.html { return 301 /proyectos; }
location = /Hablemos.html { return 301 /contacto; }
location = /Manifiesto.html { return 301 /firma; }
location = /Gobernanza.html { return 301 /ingenieria; }
location = /collina-insurance-manager.html { return 301 /proyectos/polizas; }
location = /prototypes/cotizador-collina-demo.html { return 301 /proyectos/cotizador; }
location = /prototypes/contract-maker-demo.html { return 301 /proyectos/contratos; }
location = /prototypes/cash-monitor-demo.html { return 301 /proyectos/monitor-gasolineras; }
location = /salud {
access_log off;
add_header Content-Type text/plain;