nginx.wpad.patch
modif/nginx.wpad 2017-04-04 08:52:10.960232868 +0200 | ||
---|---|---|
103 | 103 |
server_name wpad.%%wpad_domain; |
104 | 104 |
%end for |
105 | 105 |
server_name wpad; |
106 |
%set %%is_revprox_domain_ip_eth0 = "non" |
|
107 |
%if %%getVar('revprox_activate_http', 'non') == "oui" |
|
108 |
%for %%revprox_domain in %%revprox_domainname |
|
109 |
%if %%revprox_domain == %%adresse_ip_eth0 |
|
110 |
%set %%is_revprox_domain_ip_eth0 = "oui" |
|
111 |
%break |
|
112 |
%end if |
|
113 |
%end for |
|
114 |
%end if |
|
115 |
%if %%is_revprox_domain_ip_eth0 == "non" |
|
116 |
server_name %%adresse_ip_eth0; |
|
117 |
%end if |
|
106 | 118 |
root /var/www/; |
107 | 119 |
#for IE |
108 | 120 |
index wpad.$zone_name; |