server {
listen 444 ssl;
server_name iot.hnhbck.com;
ssl_certificate /etc/ssl/certs/iot.hnhbck.com.pem;
ssl_certificate_key /etc/ssl/certs/iot.hnhbck.com.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://172.17.0.1:9600;
proxy_redirect http:// $scheme://;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}