xayane
(monster)
January 15, 2020, 3:31am
1
Is able to convert the stream_ssl_preread_module in nginx to caddyfile?
The typical conf in nginx is below which is pasted from Module ngx_stream_ssl_preread_module
map $ssl_preread_server_name $name {
backend.example.com backend;
default backend2;
}
upstream backend {
server 192.168.0.1:12345;
server 192.168.0.2:12345;
}
upstream backend2 {
server 192.168.0.3:12345;
server 192.168.0.4:12345;
}
server {
listen 12346;
proxy_pass $name;
ssl_preread on;
}
Any suggestions? Thanks.
1 Like
matt
(Matt Holt)
January 15, 2020, 3:36am
2
This is not yet available in Caddy, and isn’t currently on my list before the v2 release, but I can prioritize this work if it is able to be funded.
I already have all the pieces needed to make this work, except for the time/funding to do it. Let me know if you’re interested in funding this!
xayane
(monster)
January 15, 2020, 5:48am
3
Thanks for the reply. I think my website will work on nginx. Thanks!
system
(system)
Closed
April 14, 2020, 5:52am
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.