Create sni.conf
This commit is contained in:
parent
18164f7d8b
commit
b56eae3b6f
14
proxy-frontend/stream.d/sni.conf
Normal file
14
proxy-frontend/stream.d/sni.conf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
map $ssl_preread_server_name $name {
|
||||||
|
watch.mommys.plumbing watch_mommys_plumbing;
|
||||||
|
default backend2;
|
||||||
|
}
|
||||||
|
|
||||||
|
upstream watch_mommys_plumbing {
|
||||||
|
server 172.31.206.1:443;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443;
|
||||||
|
proxy_pass $name;
|
||||||
|
ssl_preread on;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user