configuracion actual

This commit is contained in:
2025-10-05 04:00:40 -06:00
parent fa418dae4f
commit 72719e75b0
17 changed files with 1076 additions and 1274 deletions

View File

@@ -0,0 +1,41 @@
# Configuración dinámica para amigos.nucleoriofrio.com
# Proxy a amigos-app:3001 con autenticación Authentik
http:
routers:
amigos-nucleoriofrio:
rule: "Host(`amigos.nucleoriofrio.com`)"
entryPoints:
- websecure
service: amigos-nucleoriofrio-service
tls:
certResolver: letsencrypt
middlewares:
- authentik-forward-auth
- amigos-headers
services:
amigos-nucleoriofrio-service:
loadBalancer:
servers:
- url: "http://amigos-app:3001"
passHostHeader: true
middlewares:
# Forward Auth con Authentik
authentik-forward-auth:
forwardAuth:
address: "http://authentiknucleo-server-1:9000/outpost.goauthentik.io/auth/traefik"
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-email
- X-authentik-uid
- Set-Cookie
# Headers personalizados para amigos
amigos-headers:
headers:
customRequestHeaders:
X-Forwarded-Proto: "https"
X-Forwarded-Scheme: "https"