Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Content imported from a Scroll Translations translation file.

...

Sv translation
languagede

Mehrere Zertifikate

Um mehr als ein Zertifikat für Haproxy zu konfigurieren, verwenden Sie diesen Ansatz in der Konfigurationsdatei:

Translations Ignore


Code Block
frontend acdportal_https
		...
	    mode            http
        bind            :443 ssl crt /etc/haproxy/haproxy_cert1.pem crt /etc/haproxy/haproxy_cert2.pem


Umleitung je nach Subdomain

Um je nach verwendeter Subdomain auf einen anderen Kunden/Reseller umzuleiten, verwenden Sie diesen Ansatz:

Translations Ignore


Code Block
frontend acdportal_https
	...
    acl site_client1 	req.hdr(host) -i client1.jtel.de
    acl site_client2 	req.hdr(host) -i client2.jtel.de
	...

# Full client
	redirect        location /CarrierPortal/login/reseller1/client1 if root_req site_client1
	redirect        location /CarrierPortal/login/reseller1/client2 if root_req site_client2
# Default redirect if not matches
	redirect        location /CarrierPortal/login/reseller1 if root_req

# Mini Client
	redirect        location /CarrierPortal/mclogin/reseller1/client1 if mini_req site_client1
	redirect        location /CarrierPortal/mclogin/reseller1/client2 if mini_req site_client2
# Default redirect if not matches
	redirect        location /CarrierPortal/mclogin/reseller1 if mini_req 
		




Sv translation
languagefr

Translations Ignore


Code Block
frontend acdportal_https 		... 	 mode http bind :443 ssl crt /etc/haproxy/haproxy_cert1.pem crt /etc/haproxy/haproxy_cert2.pem


Translations Ignore


Code Block
frontend acdportal_https 	... acl site_client1 	req.hdr(host) -i client1.jtel.de acl site_client2 	req.hdr(host) -i client2.jtel.de 	... # Full client 	redirect location /CarrierPortal/login/reseller1/client1 if root_req site_client1 	redirect location /CarrierPortal/login/reseller1/client2 if root_req site_client2 # Default redirect if not matches 	redirect location /CarrierPortal/login/reseller1 if root_req # Mini Client 	redirect location /CarrierPortal/mclogin/reseller1/client1 if mini_req site_client1 	redirect location /CarrierPortal/mclogin/reseller1/client2 if mini_req site_client2 # Default redirect if not matches 	redirect location /CarrierPortal/mclogin/reseller1 if mini_req