2022-08-23 06:37:17 +00:00
|
|
|
stream {
|
|
|
|
server {
|
|
|
|
listen 10000 ssl;
|
|
|
|
listen [::]:10000 ssl;
|
2022-08-23 05:22:03 +00:00
|
|
|
|
2022-08-23 06:37:17 +00:00
|
|
|
ssl_certificate /etc/nginx/cert.pem;
|
|
|
|
ssl_certificate_key /etc/nginx/key.pem;
|
|
|
|
ssl_session_timeout 1d;
|
|
|
|
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
|
|
|
|
ssl_session_tickets off;
|
2022-08-23 05:22:03 +00:00
|
|
|
|
2022-08-23 06:37:17 +00:00
|
|
|
# modern configuration
|
|
|
|
ssl_protocols TLSv1.3;
|
|
|
|
ssl_prefer_server_ciphers off;
|
2022-08-23 05:22:03 +00:00
|
|
|
|
2022-08-23 06:37:17 +00:00
|
|
|
proxy_pass 127.0.0.1:10003;
|
2022-08-23 05:22:03 +00:00
|
|
|
}
|
2022-08-23 06:37:17 +00:00
|
|
|
}
|