Aller au contenu

Featured Replies

Posté(e)

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

Posté(e)
  • Auteur

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

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.

Invité
Répondre à ce sujet…

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.