Version 0.6.0 (2026-04-01)

Changes:
- add config validation option via Makefile
- add `default-http{,s}-port` commands to add_servers.py
- update add_servers.py to pass generic parameters to servers in templates
- add nginx_conf.d directory usage for more than one custom nginx configurations
- rename `port` and `ssl_port` to `http{,s}_port` for templates
- add `http{,s}_custom_params` to templates
This commit is contained in:
2026-03-25 16:16:01 +03:00
parent 94259c5f99
commit 8946fa4244
14 changed files with 314 additions and 78 deletions

View File

@@ -0,0 +1,27 @@
stream {
log_format stream '$remote_addr [$time_local] host=$ssl_preread_server_name '
'prot=$protocol status=$status out=$bytes_sent in=$bytes_received';
# access_log /var/log/nginx/stream_access.log stream;
# error_log /var/log/nginx/stream_error.log;
map $ssl_preread_server_name $backend_name {
your.special.domain proxy_protocol_backend;
default nginx_https;
}
upstream nginx_https {
server 127.0.0.1:4443;
}
upstream proxy_protocol_backend {
server container_backend:443;
}
server {
listen 443 reuseport;
proxy_pass $backend_name;
ssl_preread on;
proxy_protocol on;
}
}