Create sni.conf

This commit is contained in:
Manevolent 2023-04-24 15:38:00 -06:00 committed by GitHub
parent 18164f7d8b
commit b56eae3b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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;
}