via78 Posté(e) le 7 mars 2016 Partager Posté(e) le 7 mars 2016 bonjour, mon ACL ne fonctionne plus, et je ne comprend pas pourquoi. je suis avec la dernière version de photostation et de haproxy sur un dsm 4.3 update 6 voici mon frontends HTTPS option http-server-close,option forwardfor,rspirep ^Location:\ http://(.*)$ Location:\ https://\1, rspadd Strict-Transport-Security:\ max-age=31536000;\ includeSubDomains, acl photo_path path_beg /photo, redirect prefix https://photo.monsite.fr/photo code 301 if { hdr(Host) -i photo.monsite.fr } !photo_path donc mon acl est : acl photo_path path_beg /photo, redirect prefix https://photo.monsite.fr/photo code 301 if { hdr(Host) -i photo.monsite.fr } !photo_path acl photo_path path_beg /photo, redirect prefix https://photo.monsite.fr/photo code 301 if { hdr(Host) -i photo.monsite.fr } !photo_path merci d'avance Via 0 Citer Lien vers le commentaire Partager sur d’autres sites More sharing options...
via78 Posté(e) le 7 mars 2016 Auteur Partager Posté(e) le 7 mars 2016 bon cette acl fonctionne dans le backend pour photostation. maintenant quand je clique sur blog je me retrouve avec une URL de ce type : https://photo.monsite.fr/photo/blog/ et ca fonctionne pas bien mais l'url : https://photo.monsite.fr/blog fonctionne parfaitement donc je me demande si je met cette ligne dans le frontends HTTPS reqirep ^Host:\ photo.monsite.fr/photo/blog Host:\ photo.monsite.fr/blog merci d'avance via 0 Citer Lien vers le commentaire Partager sur d’autres sites More sharing options...
Messages recommandés
Rejoindre la conversation
Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.