Aller au contenu

Haproxy ( Web Station)

Featured Replies

Posté(e)

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

Posté(e)
  • Auteur

Auriez vous une piste ou un lien pour m'éclairer ? Svp

Posté(e)
  • Auteur

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é par kanjusei

Posté(e)

Manque donc une association vers le back-end qui gère le port 80 (semble être le back-end photo)

Modifié par Gaetan Cambier

Posté(e)
  • Auteur

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é par kanjusei

Posté(e)
  • Auteur

Peut t'on fermer le topic? J'ai trouvé la solution.

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é
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Répondre à ce sujet…

Account

Navigation

Rechercher

Rechercher

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.