Migrate configuration paths to /etc/easyhaproxy and improve health check support in E2E tests
- Refactored HAProxy configuration files, templates, and paths to use `/etc/easyhaproxy` instead of `/etc/haproxy`. - Updated Dockerfile to generate DH params and placeholder certificates in the new configuration directory. - Added health check support with timeout to `DockerComposeFixture` in E2E test utilities. - Adjusted tests, templates, and plugins to use the new `Consts`-based configuration paths. - Introduced pytest fixtures for environment isolation and temporary directory management.
This commit is contained in:
parent
3e963228f3
commit
045dd3817e
73 changed files with 600 additions and 287 deletions
|
|
@ -12,7 +12,7 @@ global
|
|||
ssl-default-server-ciphersuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
|
||||
ssl-default-server-options no-sslv3 no-tlsv10 no-tlsv11 no-tls-tickets
|
||||
|
||||
ssl-dh-param-file /etc/haproxy/dhparam
|
||||
ssl-dh-param-file /etc/easyhaproxy/haproxy/dhparam
|
||||
|
||||
defaults
|
||||
log global
|
||||
|
|
@ -21,13 +21,13 @@ defaults
|
|||
timeout connect 3s
|
||||
timeout client 10s
|
||||
timeout server 10m
|
||||
errorfile 400 /etc/haproxy/errors-custom/400.http
|
||||
errorfile 403 /etc/haproxy/errors-custom/403.http
|
||||
errorfile 408 /etc/haproxy/errors-custom/408.http
|
||||
errorfile 500 /etc/haproxy/errors-custom/500.http
|
||||
errorfile 502 /etc/haproxy/errors-custom/502.http
|
||||
errorfile 503 /etc/haproxy/errors-custom/503.http
|
||||
errorfile 504 /etc/haproxy/errors-custom/504.http
|
||||
errorfile 400 /etc/easyhaproxy/haproxy/errors-custom/400.http
|
||||
errorfile 403 /etc/easyhaproxy/haproxy/errors-custom/403.http
|
||||
errorfile 408 /etc/easyhaproxy/haproxy/errors-custom/408.http
|
||||
errorfile 500 /etc/easyhaproxy/haproxy/errors-custom/500.http
|
||||
errorfile 502 /etc/easyhaproxy/haproxy/errors-custom/502.http
|
||||
errorfile 503 /etc/easyhaproxy/haproxy/errors-custom/503.http
|
||||
errorfile 504 /etc/easyhaproxy/haproxy/errors-custom/504.http
|
||||
|
||||
|
||||
frontend stats
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue