NicolasCantu 5e3fb8f07f
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 51s
clean
2025-09-24 19:49:02 +02:00

12 lines
261 B
Plaintext

stream {
map $ssl_preread_protocol $upstream_3000 {
"" 127.0.0.1:3001; # HTTP clair
default 127.0.0.1:3443; # TLS -> HTTPS
}
server {
listen 3000;
proxy_pass $upstream_3000;
ssl_preread on;
}
}