mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 00:16:49 +00:00
Refactor Traefik router middleware for opnsense service in swarm/services.yml
This commit is contained in:
@@ -9,18 +9,18 @@ http:
|
|||||||
address: "http://authentik-server:9000/outpost.goauthentik.io/auth/traefik"
|
address: "http://authentik-server:9000/outpost.goauthentik.io/auth/traefik"
|
||||||
trustForwardHeader: true
|
trustForwardHeader: true
|
||||||
authResponseHeaders:
|
authResponseHeaders:
|
||||||
- X-authentik-username
|
- X-authentik-username
|
||||||
- X-authentik-groups
|
- X-authentik-groups
|
||||||
- X-authentik-email
|
- X-authentik-email
|
||||||
- X-authentik-name
|
- X-authentik-name
|
||||||
- X-authentik-uid
|
- X-authentik-uid
|
||||||
- X-authentik-jwt
|
- X-authentik-jwt
|
||||||
- X-authentik-meta-jwks
|
- X-authentik-meta-jwks
|
||||||
- X-authentik-meta-outpost
|
- X-authentik-meta-outpost
|
||||||
- X-authentik-meta-provider
|
- X-authentik-meta-provider
|
||||||
- X-authentik-meta-app
|
- X-authentik-meta-app
|
||||||
- X-authentik-meta-version
|
- X-authentik-meta-version
|
||||||
- authorization
|
- authorization
|
||||||
|
|
||||||
routers:
|
routers:
|
||||||
local-traefik-public-https:
|
local-traefik-public-https:
|
||||||
@@ -74,6 +74,15 @@ http:
|
|||||||
tls: {}
|
tls: {}
|
||||||
service: proxmox01@file
|
service: proxmox01@file
|
||||||
|
|
||||||
|
opnsense:
|
||||||
|
entryPoints:
|
||||||
|
- https
|
||||||
|
rule: Host(`opn.furyhawk.lol`)
|
||||||
|
middlewares:
|
||||||
|
- admin-auth@swarm
|
||||||
|
tls: {}
|
||||||
|
service: opnsense@file
|
||||||
|
|
||||||
services:
|
services:
|
||||||
coco_desktop:
|
coco_desktop:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
@@ -94,6 +103,11 @@ http:
|
|||||||
servers:
|
servers:
|
||||||
- url: "https://192.168.50.201:8006"
|
- url: "https://192.168.50.201:8006"
|
||||||
|
|
||||||
|
opnsense:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://192.168.50.170"
|
||||||
|
|
||||||
tcp:
|
tcp:
|
||||||
routers:
|
routers:
|
||||||
spice00:
|
spice00:
|
||||||
|
|||||||
Reference in New Issue
Block a user