From a97d555362e2f54c352d334d109e126119317c6b Mon Sep 17 00:00:00 2001 From: hpl Date: Tue, 21 Jan 2025 20:34:55 +0100 Subject: [PATCH] fermer l'api de jirafeau pour les ip non admin !!!! de dious ! --- dockers/jirafeau/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockers/jirafeau/docker-compose.yml b/dockers/jirafeau/docker-compose.yml index 80d5cdd..9dab060 100644 --- a/dockers/jirafeau/docker-compose.yml +++ b/dockers/jirafeau/docker-compose.yml @@ -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: