kanjusei Posté(e) le 6 octobre 2014 Posté(e) le 6 octobre 2014 Bonjour, je souhaiterais de l'aide sur haproxy. tout les sous domaines que j'ai ajouté , fonctionne. Je voudrais accéder au web station avec haproxy, toutes mes tentatives ont été un echec. Ex: www.mondomaine.tld/worldpress 0 Citer
kanjusei Posté(e) le 13 octobre 2014 Auteur Posté(e) le 13 octobre 2014 Auriez vous une piste ou un lien pour m'éclairer ? Svp 0 Citer
devildant Posté(e) le 13 octobre 2014 Posté(e) le 13 octobre 2014 Bonjour, Sans communiquer ta config haproxy ca va etre compliquer. 0 Citer
gaetan.cambier Posté(e) le 13 octobre 2014 Posté(e) le 13 octobre 2014 Je suis pas sur mais de mémoire l'association manque pour le www. Suffit de la créer 0 Citer
kanjusei Posté(e) le 14 octobre 2014 Auteur Posté(e) le 14 octobre 2014 (modifié) Voici le contenu de mon fichier haproxy.cfg: global daemon maxconn 256 log localhost user info spread-checks 10 tune.ssl.default-dh-param 2048defaults mode http stats enable default-server inter 30s fastinter 5s log global option httplog timeout connect 5s timeout 50s timeout ser client ver 50s timeout tunnel 1hlisten stats :8280 stats uri / stats show-legends stats refresh 10s stats realm Haproxy Statistics stats auth test:testuserlist my_users user test insecure-password testfrontend http bind :5080 option http-server-close option forwardfor redirect scheme https default_backend webfrontend https bind :5443 ssl crt /usr/local/haproxy/var/crt/default.pem option http-server-close option forwardfor use_backend dsm if { hdr_beg(Host) -i dsm. } use_backend transmission if { hdr_beg(Host) -i transmission. } use_backend gateone if { hdr_beg(Host) -i ssh. } use_backend webdav if { hdr_beg(Host) -i webdav. } use_backend audio if { hdr_beg(Host) -i audio. } use_backend download if { hdr_beg(Host) -i download. } use_backend surveillance if { hdr_beg(Host) -i surveillance. } use_backend video if { hdr_beg(Host) -i video. } use_backend file if { hdr_beg(Host) -i file. } use_backend haproxy if { hdr_beg(Host) -i haproxy. } use_backend photo if { hdr_beg(Host) -i photo. } use_backend pyload if { hdr_beg(Host) -i pyload. } default_backend webbackend web server web localhost:80/zerobin/ checkbackend dsm server dsm localhost:5000 checkbackend transmission server transmission localhost:9091 checkbackend gateone acl auth_access http_auth(my_users) http-request auth realm Authentification if !auth_access server gateone localhost:8271 ssl check verify nonebackend webdav server webdav localhost:5005 checkbackend audio server audio localhost:8800 checkbackend download server download localhost:8000 checkbackend surveillance server surveillance localhost:9900 checkbackend video server video localhost:9007 checkbackend file server file localhost:7000 checkbackend haproxy server haproxy localhost:8280 checkbackend photo server photo localhost: checkbackend pyload server pyload localhost:8005 check Modifié le 14 octobre 2014 par kanjusei 0 Citer
gaetan.cambier Posté(e) le 14 octobre 2014 Posté(e) le 14 octobre 2014 (modifié) Manque donc une association vers le back-end qui gère le port (semble être le back-end photo) Modifié le 14 octobre 2014 par Gaetan Cambier 0 Citer
kanjusei Posté(e) le 15 octobre 2014 Auteur Posté(e) le 15 octobre 2014 (modifié) Une question: Pour les sites du web station fonctionne, il ne faudrait pas des virtuals hosts créé sur le syno + des associations sur haproxy? Envoyé de mon Nexus 5 en utilisant Tapatalk Modifié le 15 octobre 2014 par kanjusei 0 Citer
kanjusei Posté(e) le 19 octobre 2014 Auteur Posté(e) le 19 octobre 2014 Peut t'on fermer le topic? J'ai trouvé la solution. 0 Citer
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.