From 901a5658142db4401ae6479ba0e0fde27cf1abdf Mon Sep 17 00:00:00 2001 From: iSergio Date: Wed, 11 Apr 2018 15:59:10 +0300 Subject: [PATCH] Add like template host and subnet --- httpd/conf.d/mod_cluster.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/httpd/conf.d/mod_cluster.conf b/httpd/conf.d/mod_cluster.conf index e274446..0a5ab9c 100644 --- a/httpd/conf.d/mod_cluster.conf +++ b/httpd/conf.d/mod_cluster.conf @@ -7,7 +7,7 @@ LoadModule cluster_slotmem_module modules/mod_cluster_slotmem.so LoadModule manager_module modules/mod_manager.so LoadModule proxy_cluster_module modules/mod_proxy_cluster.so -ServerName 172.16.0.4 +ServerName __HOST__ ProxyPass / balancer://mycluster stickysession=JSESSIONID|jsessionid nofailover=On @@ -23,7 +23,7 @@ ServerName 172.16.0.4 SetHandler mod_cluster-manager Order deny,allow Deny from all - Allow from 172.16.0. + Allow from __SUBNET__ # Show extended statistic and info AllowDisplay on @@ -39,7 +39,7 @@ ServerName 172.16.0.4 Order deny,allow Deny from all - Allow from 172.16.0. + Allow from __SUBNET__ KeepAliveTimeout 300 -- GitLab