Outils pour utilisateurs

Outils du site


sme:proxypass

Renvois de domaine par Proxy Pass

“I want to pass some http requests to a server behind my SME Server or external to my site, how can I do this? You can set a ProxyPass directive that will pass certain requests to an internal or external server that hosts the domain to be proxypassed ”

DOM="domaine_a_renvoyer"

IP=detination de la machine"

db domains set $DOM  domain
db domains setprop $DOM Nameservers internet
db domains setprop $DOM ProxyPassTarget http://$IP/
db domains setprop $DOM TemplatePath ProxyPassVirtualHosts
signal-event domain-create $DOM
sme/proxypass.txt · Dernière modification: 2017/04/11 15:13 (modification externe)