This commit is contained in:
2025-03-04 05:23:48 -06:00
parent d180197086
commit a314f60d38
2 changed files with 28 additions and 19 deletions

View File

@@ -1,18 +1,18 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: authentik-ingress
spec:
entryPoints:
- websecure
routes:
- match: Host(`test.durp.info`) && PathPrefix(`/`)
kind: Rule
services:
- name: authentik-server
port: 443
tls:
secretName: authentik-tls
#apiVersion: traefik.io/v1alpha1
#kind: IngressRoute
#metadata:
# name: authentik-ingress
#spec:
# entryPoints:
# - websecure
# routes:
# - match: Host(`test.durp.info`) && PathPrefix(`/`)
# kind: Rule
# services:
# - name: authentik-server
# port: 443
# tls:
# secretName: authentik-tls
---

View File

@@ -5,9 +5,18 @@ metadata:
data:
config.yml: |
http:
services:
test:
routers:
foobar:
entryPoints:
- websecure
middlewares:
- strip
service: myexthost
rule: Host(`test.durp.info`) && Path(`/`)
tls: {}
myexthost:
foobar:
loadBalancer:
servers:
- url: https://google.com
- url: https://google.com