fix: routes Fabio /* + SSL PrestaShop via pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

- Routes Fabio : / -> /* (glob matcher requiert /* pour matcher les sous-chemins)
  Sans *, presta.syoul.fr:443/ ne matchait que / exactement, les autres
  chemins (/admin-secure/, /themes/...) tombaient sur le catch-all nginx -> 404
- Ajout step configure : active PS_SSL_ENABLED + PS_SSL_ENABLED_EVERYWHERE dans
  la DB apres installation, efface le cache -> PrestaShop genere des URLs https://
  (Fabio passe X-Forwarded-Proto:https, pas de boucle de redirection)
- PS_ENABLE_SSL: 1 dans docker-compose.yml (coherence avec la config DB)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
syoul
2026-03-17 21:56:29 +01:00
parent 235321985b
commit 8168082765
2 changed files with 36 additions and 5 deletions

View File

@@ -17,9 +17,9 @@ services:
ADMIN_PASSWD: ${PRESTASHOP_ADMIN_PASSWORD}
PS_INSTALL_AUTO: "1"
PS_ERASE_DB: "0"
# SSL desactive cote PrestaShop : Fabio gere le TLS en terminaison
# Cela evite les boucles de redirection HTTPS
PS_ENABLE_SSL: "0"
# SSL active : Fabio termine TLS et passe X-Forwarded-Proto:https
# PrestaShop honore ce header -> genere des URLs https:// sans boucle de redirection
PS_ENABLE_SSL: "1"
volumes:
- ps_data:/var/www/html
labels: