Implementar link handling y asociación con PWA hub
- Agregar capture_links en manifest para mejorar experiencia PWA - Crear archivo .well-known para asociación con inicio.nucleoriofrio.com - Agregar router público en Traefik para recursos PWA y .well-known
This commit is contained in:
@@ -33,6 +33,13 @@ services:
|
||||
# Service
|
||||
- "traefik.http.services.seguidor-lotes.loadbalancer.server.port=3000"
|
||||
|
||||
# Router público para recursos PWA (sin autenticación)
|
||||
- "traefik.http.routers.seguidor-lotes-public.rule=Host(`${APP_DOMAIN}`) && (PathPrefix(`/.well-known`) || Path(`/manifest.webmanifest`) || Path(`/sw.js`) || PathPrefix(`/workbox-`) || PathPrefix(`/icon-`) || Path(`/favicon.ico`))"
|
||||
- "traefik.http.routers.seguidor-lotes-public.entrypoints=websecure"
|
||||
- "traefik.http.routers.seguidor-lotes-public.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.seguidor-lotes-public.priority=100"
|
||||
- "traefik.http.routers.seguidor-lotes-public.service=seguidor-lotes"
|
||||
|
||||
# Middleware (opcional: puedes añadir rate limiting, compression, etc.)
|
||||
- "traefik.http.routers.seguidor-lotes.middlewares=seguidor-lotes-headers"
|
||||
- "traefik.http.middlewares.seguidor-lotes-headers.headers.customrequestheaders.X-Forwarded-Proto=https"
|
||||
|
||||
Reference in New Issue
Block a user