-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #302 from jajik/issue-297
Add `UseNocanon` to mod_lbmethod_cluster, fix testsuite to use the right module
- Loading branch information
Showing
15 changed files
with
254 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
LoadModule proxy_module modules/mod_proxy.so | ||
LoadModule proxy_http_module modules/mod_proxy_http.so | ||
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so | ||
LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so | ||
|
||
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so | ||
LoadModule manager_module modules/mod_manager.so | ||
LoadModule lbmethod_cluster_module modules/mod_lbmethod_cluster.so | ||
LoadModule watchdog_module modules/mod_watchdog.so | ||
|
||
LogLevel info | ||
ServerName localhost | ||
ProxyPreserveHost On | ||
UseNocanon On | ||
|
||
<IfModule manager_module> | ||
Listen 6666 | ||
ManagerBalancerName mycluster | ||
|
||
EnableWsTunnel | ||
WSUpgradeHeader websocket | ||
<VirtualHost *:6666> | ||
EnableMCMPReceive | ||
<Directory /> | ||
Require ip 127.0.0.1 | ||
Require ip ::1 | ||
# This one is used in GH Actions | ||
Require ip 172.17. | ||
</Directory> | ||
<Location /mod_cluster_manager> | ||
SetHandler mod_cluster-manager | ||
Require ip 127.0.0.1 | ||
Require ip ::1 | ||
# This one is used in GH Actions | ||
Require ip 172.17. | ||
</Location> | ||
</VirtualHost> | ||
</IfModule> | ||
|
||
<Proxy "balancer://mycluster"> | ||
ProxySet growth=10 | ||
ProxySet lbmethod=cluster | ||
</Proxy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
LoadModule proxy_module modules/mod_proxy.so | ||
LoadModule proxy_http_module modules/mod_proxy_http.so | ||
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so | ||
LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so | ||
|
||
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so | ||
LoadModule manager_module modules/mod_manager.so | ||
LoadModule lbmethod_cluster_module modules/mod_lbmethod_cluster.so | ||
LoadModule watchdog_module modules/mod_watchdog.so | ||
|
||
Maxnode 505 | ||
Maxhost 1010 | ||
Maxcontext 1100 | ||
Listen 6666 | ||
ManagerBalancerName mycluster | ||
ServerName localhost | ||
|
||
<VirtualHost *:6666> | ||
EnableMCMPReceive | ||
<Directory /> | ||
Require ip 127.0.0.1 | ||
Require ip ::1 | ||
# This one is used in GH Actions | ||
Require ip 172.17. | ||
</Directory> | ||
<Location /mod_cluster_manager> | ||
SetHandler mod_cluster-manager | ||
Require ip 127.0.0.1 | ||
Require ip ::1 | ||
# This one is used in GH Actions | ||
Require ip 172.17. | ||
</Location> | ||
</VirtualHost> | ||
|
||
<Proxy "balancer://mycluster"> | ||
ProxySet growth=10 | ||
ProxySet lbmethod=cluster | ||
</Proxy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
LoadModule proxy_module modules/mod_proxy.so | ||
LoadModule proxy_http_module modules/mod_proxy_http.so | ||
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so | ||
LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so | ||
|
||
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so | ||
LoadModule manager_module modules/mod_manager.so | ||
LoadModule lbmethod_cluster_module modules/mod_lbmethod_cluster.so | ||
LoadModule watchdog_module modules/mod_watchdog.so | ||
|
||
Maxnode 505 | ||
Maxhost 1010 | ||
Maxcontext 1100 | ||
Listen 6666 | ||
ManagerBalancerName mycluster | ||
ServerName localhost | ||
|
||
EnableWsTunnel | ||
WSUpgradeHeader websocket | ||
|
||
<VirtualHost *:6666> | ||
EnableMCMPReceive | ||
<Directory /> | ||
Require ip 127.0.0.1 | ||
Require ip ::1 | ||
# This one is used in GH Actions | ||
Require ip 172.17. | ||
</Directory> | ||
<Location /mod_cluster_manager> | ||
SetHandler mod_cluster-manager | ||
Require ip 127.0.0.1 | ||
Require ip ::1 | ||
# This one is used in GH Actions | ||
Require ip 172.17. | ||
</Location> | ||
</VirtualHost> | ||
|
||
<Proxy "balancer://mycluster"> | ||
ProxySet growth=10 | ||
ProxySet lbmethod=cluster | ||
</Proxy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
LoadModule proxy_module modules/mod_proxy.so | ||
LoadModule proxy_http_module modules/mod_proxy_http.so | ||
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so | ||
LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so | ||
|
||
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so | ||
LoadModule manager_module modules/mod_manager.so | ||
LoadModule lbmethod_cluster_module modules/mod_lbmethod_cluster.so | ||
LoadModule watchdog_module modules/mod_watchdog.so | ||
|
||
ProxyPreserveHost On | ||
|
||
Listen 6666 | ||
ServerName localhost | ||
ManagerBalancerName mycluster | ||
EnableWsTunnel | ||
WSUpgradeHeader websocket | ||
|
||
<VirtualHost *:6666> | ||
EnableMCMPReceive | ||
<Directory /> | ||
Require ip 127.0.0. | ||
Require ip ::1 | ||
# This one is used in GH Actions | ||
Require ip 172.17. | ||
</Directory> | ||
<Location /mod_cluster_manager> | ||
SetHandler mod_cluster-manager | ||
Require ip 127.0.0. | ||
Require ip ::1 | ||
# This one is used in GH Actions | ||
Require ip 172.17. | ||
</Location> | ||
</VirtualHost> | ||
|
||
<Proxy "balancer://mycluster"> | ||
ProxySet growth=20 | ||
ProxySet lbmethod=cluster | ||
</Proxy> | ||
|
||
# This is the default value, but let's go with the explicit here | ||
Maxnode 20 |
Oops, something went wrong.