fermer l'api de jirafeau pour les ip non admin !!!! de dious !
This commit is contained in:
parent
c015378405
commit
a97d555362
@ -28,9 +28,9 @@ services:
|
||||
# - "traefik.http.routers.${jirafeauServName}-download.rule=Host(`${fileHost}.${domain}`) && ( PathPrefix(`/f.php`) || PathPrefix(`/index.php`)"
|
||||
# Le service est ouvert aux ip autorisées
|
||||
# - "traefik.http.routers.${jirafeauServName}-admin.rule=Host(`${fileHost}.${domain}`)"
|
||||
- "traefik.http.routers.${jirafeauServName}-admin.rule=Host(`${fileHost}.${domain}`) && ( PathPrefix(`/a-send.php`) || PathPrefix(`/s.php`) || PathPrefix(`/admin.php`) )"
|
||||
- "traefik.http.routers.${jirafeauServName}-admin.rule=Host(`${fileHost}.${domain}`) && ( PathPrefix(`/a-send.php`) || PathPrefix(`/s.php`) || PathPrefix(`/admin.php`) || PathPrefix(`/script.php`) )"
|
||||
- "traefik.http.routers.${jirafeauServName}-admin.middlewares=test-adminipallowlist@file"
|
||||
- "traefik.http.routers.${jirafeauServName}.rule=Host(`${fileHost}.${domain}`) && ! ( PathPrefix(`/a-send.php`) || PathPrefix(`/s.php`) || PathPrefix(`/admin.php`) )"
|
||||
- "traefik.http.routers.${jirafeauServName}.rule=Host(`${fileHost}.${domain}`) && ! ( PathPrefix(`/a-send.php`) || PathPrefix(`/s.php`) || PathPrefix(`/admin.php`) || PathPrefix(`/script.php`) )"
|
||||
- "traefik.docker.network=jirafeauNet"
|
||||
|
||||
volumes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user