1
0
Fork 0
Commit graph

23 commits

Author SHA1 Message Date
Joao Gilberto Magalhaes
53c32499b5 Remove Diffie-Hellman parameter generation and references in templates and tests 2026-02-18 02:08:46 -05:00
Joao Gilberto Magalhaes
491f4a8c09 Add support for CORS in HAProxy stats dashboard
- Introduced `HAPROXY_STATS_CORS_ORIGIN` environment variable for enabling CORS in HAProxy stats.
- Updated HAProxy configuration template to handle CORS preflight and response headers.
- Added tests for static configuration mode with CORS enabled.
- Updated documentation to include new CORS configuration details and examples.
2026-02-16 20:54:27 -05:00
Joao Gilberto Magalhaes
776f216a36 Add support for proxy-awareness headers: X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto, X-Forwarded-Host, and X-Request-ID
- Updated HAProxy configuration template to set all standard proxy headers for HTTP requests.
- Added support for a unique request ID via `unique-id-format` and `unique-id-header` directives.
- Implemented E2E tests for header validation, request correlation, and configuration correctness.
- Enhanced documentation to explain usage and examples of proxy headers.
- Updated CI workflows to include E2E tests for proxy headers.
2026-02-16 17:26:59 -05:00
Joao Gilberto Magalhaes
045dd3817e 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.
2026-02-15 14:32:16 -05:00
Joao Gilberto Magalhaes
97845b8a52 Refactor E2E tests and configuration format
- Replaced `easymapping` configuration with `containers` for better maintainability and clarity.
- Introduced `DockerComposeFixture` class in `utils.py` to manage Docker Compose lifecycle and smart build strategy.
- Enhanced YAML-to-environment variable conversion in `ContainerEnv` for dynamic configuration support.
- Updated HAProxy configurations and test fixtures to reflect the new format.
- Improved test coverage for YAML parsing, environment variable handling, and HAProxy config generation.
2026-02-13 12:01:47 -05:00
Joao Gilberto Magalhaes
55d0d1a105 Modernizing PyThon Projec 2026-01-22 20:14:22 -05:00
Joao M
7d959f892a Refactoring to Python 2022-08-24 01:00:26 +00:00
Joao M
2e2640c859 Fix tests 2022-08-18 15:24:55 +00:00
Joao M
e6d5842098 Change statistics 2022-08-18 04:00:52 +00:00
Joao M
ad8aef16a2 Fix SSL 2022-08-17 21:55:25 +00:00
Joao M
1a6472a5b3 Fix loop in redirect_ssl 2022-08-17 02:28:24 +00:00
Joao M
0a4f78a153 Fix redirect loop 2022-08-16 20:34:32 +00:00
Joao M
3e561e557f Change SSL Certs folder 2022-08-16 20:07:57 +00:00
Joao M
b363abea8c Add redirect-ssl and different ssl_modes 2022-08-16 16:39:51 +00:00
Joao M
d0f91c6718 Multiple Hosts 2022-08-15 20:20:18 +00:00
Joao M
076a51d143 Enforcing some SSL configurations 2022-08-15 17:02:55 +00:00
Joao M
9fa9dc9841 Some refactory to support letsencrypt 2022-08-15 04:31:50 +00:00
Joao M
bdc97fa10d Fixing HAProxy conditional 2022-08-15 01:17:54 +00:00
Joao M
10ed037d94 First part letsencrypt 2022-08-15 00:34:45 +00:00
Joao Gilberto Magalhaes
50af051a33 Added tests for multi-container 2022-03-27 18:52:52 -05:00
zhipeng
d41364f1af support multi containers 2022-03-27 16:28:54 +08:00
Joao Gilberto Magalhães
74413882fa Fix SSL Parsing; Changed all tests; 2020-06-07 22:31:00 -05:00
Joao Gilberto Magalhães
ddfa2e34ae Minor adjustment in Static unittest. 2020-06-07 21:36:02 -05:00