middleware for local ips only (no internet access)

This commit is contained in:
olli 2024-08-22 16:11:52 +02:00
parent 1bdce7d890
commit aeb0d5c421

View File

@ -187,7 +187,13 @@
default-basic-auth:
basicAuth:
usersFile: "/etc/traefik/providers.local/default-basic-auth.usersfile"
allowlocalipsonly:
ipAllowList:
sourceRange:
- "127.0.0.1/32"
- "192.168.0.0/16"
- "172.16.0.0/12"
- "10.0.0.0/8"
notify: Restart traefik
- name: /usr/local/sbin/traefik-qualys-ssl-labs-check.sh