default-basic-auth@file

This commit is contained in:
olli 2024-05-29 14:07:27 +02:00
parent 8f8bd0b5b3
commit 69e015549b

View File

@ -161,8 +161,7 @@
# cert via letsencrypt
- traefik.http.routers.wordpress-{{ ansible_facts['hostname'] }}--phpmyadmin.tls.certresolver=letsencrypt
# Auth
- traefik.http.routers.wordpress-{{ ansible_facts['hostname'] }}--phpmyadmin.middlewares=secHeaders@file,wordpress-{{ ansible_facts['hostname'] }}--phpmyadmin-auth
- traefik.http.middlewares.wordpress-{{ ansible_facts['hostname'] }}--phpmyadmin-auth.basicauth.users=admin:$$apr1$$XLxGs/Ba$$3phZ1a2RtfExOp8x6NFjZ.
- traefik.http.routers.wordpress-{{ ansible_facts['hostname'] }}--phpmyadmin.middlewares=secHeaders@file,default-basic-auth@file
# Traefik network
- traefik.docker.network=traefik