Improve install and modify Traefik IP restriction

This commit is contained in:
2023-11-02 21:21:08 -04:00
parent 0455466dfd
commit 0ea81138e2
3 changed files with 13 additions and 5 deletions

View File

@@ -35,7 +35,8 @@ services:
- "traefik.http.routers.traefik.middlewares=localonly"
- "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.tls=true"
- "traefik.http.middlewares.localonly.ipwhitelist.sourcerange=10.0.0.0/8"
#- "traefik.http.middlewares.localonly.ipwhitelist.sourcerange=10.0.0.0/8"
- "traefik.http.middlewares.localonly.ipwhitelist.sourcerange=172.16.0.0/12,10.0.0.0/8" # vagrant verison
whoami:
image: "traefik/whoami"
networks:

View File