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
5
build/assets/etc/easyhaproxy/haproxy/conf.d/README.md
Normal file
5
build/assets/etc/easyhaproxy/haproxy/conf.d/README.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Custom HAProxy Configuration
|
||||
|
||||
Put `.cfg` files here to be included in the HAProxy configuration.
|
||||
|
||||
These files will be available at `/etc/easyhaproxy/haproxy/conf.d/` inside the container.
|
||||
|
|
@ -4,7 +4,7 @@ Connection: close
|
|||
Content-Type: text/html
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html>Ins
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>400 Bad request</title>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# Custom HAProxy
|
||||
|
||||
Put files .cfg to be included in the configuration
|
||||
Loading…
Add table
Add a link
Reference in a new issue