diff --git a/httpd/conf.d/mod_cluster.conf b/httpd/conf.d/mod_cluster.conf index e2744464e5ec115b6c0d8ae658173bc83d5e3ce7..0a5ab9c85e39f4aabaa2630843f99390ab85a251 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