17 lines
254 B
Plaintext
17 lines
254 B
Plaintext
|
map $ssl_preread_server_name $name {
|
||
|
yourserver.com tornado_mainnet;
|
||
|
|
||
|
# default
|
||
|
|
||
|
default tornado_mainnet;
|
||
|
}
|
||
|
|
||
|
upstream tornado_mainnet {
|
||
|
server 127.0.0.1:4380;
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 0.0.0.0:443;
|
||
|
proxy_pass $name;
|
||
|
ssl_preread on;
|
||
|
}
|