feat(nginx): redirigir la raiz "/" del QR a collinasystems.com
- nginx.conf: "location = /" responde 302 a https://collinasystems.com/ con Cache-Control: no-store; /index.html, /assets/ y el error_page 50x.html se sirven igual que antes. absolute_redirect off para que las redirecciones de nginx no fuercen http:// detras de Traefik. - Dockerfile: copia nginx.conf a /etc/nginx/conf.d/default.conf y publica solo index.html, 50x.html, config.json y assets/ (antes COPY . exponia .git, README.md y Dockerfile). - README: seccion "Redireccion del QR" con donde cambiar el destino. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
772a5b44a2
commit
0097aebdb7
3 files changed
+73
-3
No files matched your search
+9
-1
@@ -1,3 +1,11 @@
|
||||
FROM nginx:alpine
|
||||
COPY . /usr/share/nginx/html
|
||||
|
||||
# Configuración de nginx (incluye la redirección del QR en "/").
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Solo se publican los archivos del sitio; nginx.conf, Dockerfile, README y
|
||||
# .git quedan fuera de /usr/share/nginx/html.
|
||||
COPY index.html 50x.html config.json /usr/share/nginx/html/
|
||||
COPY assets/ /usr/share/nginx/html/assets/
|
||||
|
||||
EXPOSE 80
|
||||
Reference in new issue
Block a user