add traefik

This commit is contained in:
2025-01-09 19:31:40 -06:00
parent 5b693abc28
commit 9ad52dc663
5 changed files with 168 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
http:
middlewares:
ip-local:
IPAllowList:
sourceRange:
- "192.168.1.1/16"
- "172.27.0.0/16"
tcp:
middlewares:
ip-local:
IPAllowList:
sourceRange:
- "192.168.1.1/16"
- "172.27.0.0/16"

View File

@@ -0,0 +1,8 @@
http:
routers:
prometheus:
rule: "(Host(`traefik-ps10rp.alexlebens.net`) && Path(`/metrics`))"
entryPoints: websecure
service: prometheus@internal
middlewares:
- "ip-local@file"