Refactor Traefik local_services.yml to use HTTPS for Proxmox URLs and add admin authentication middleware

This commit is contained in:
2024-09-11 12:57:26 +08:00
parent 69f216848a
commit 1cf3f085c6
+5
View File
@@ -2,6 +2,7 @@ http:
serversTransports:
pvetransport:
insecureSkipVerify: true
routers:
local-traefik-public-https:
entryPoints:
@@ -40,6 +41,8 @@ http:
entryPoints:
- https
rule: Host(`dc00.furyhawk.lol`)
middlewares:
- admin-auth@swarm
tls: {}
service: proxmox00@file
@@ -47,6 +50,8 @@ http:
entryPoints:
- https
rule: Host(`dc01.furyhawk.lol`)
middlewares:
- admin-auth@swarm
tls: {}
service: proxmox01@file