Compare commits

..

No commits in common. "62ff1d823e4b3c34889c621277f35676060ec8d1" and "1b80be7826520fcae856e730418016146ad5d2e1" have entirely different histories.

2 changed files with 6 additions and 14 deletions

View File

@ -24,13 +24,9 @@ services:
- /etc/timezone:/etc/timezone:ro
labels:
- "traefik.enable=true"
# pour ouvrir juste /f.php !!
# - "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(`/admin.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(`/admin.php`)"
- "traefik.docker.network=jirafeauNet"
volumes:

View File

@ -17,11 +17,7 @@ services:
- /etc/timezone:/etc/timezone:ro
labels:
- "traefik.enable=true"
#- "traefik.http.routers.web.rule=Host(`${domain}`) || Host(`www.${domain}`)"
# remplacé par
- "traefik.http.routers.mailfolder.rule=(Host(`${domain}`) || Host(`www.${domain}`)) && (PathPrefix(`/m/`) || PathPrefix(`/mail/`))"
- "traefik.http.routers.web.rule=Host(`web.${domain}`)"
#- "traefik.http.routers.web.middlewares=test-adminipallowlist@file"
- "traefik.http.routers.web.rule=Host(`${domain}`) || Host(`www.${domain}`)"
volumes:
html: