ngnix端口转发
例:把https的444端口转发到本地http的3000端口
server { listen 444 ssl; server_name neo123.cn; #证书位置 ssl_certificate "/etc/nginx/cert/5268607_www.neo123.cn.pem"; ssl_certificate_key "/etc/nginx/cert/5268607_www.neo123.cn.key"; # ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; #协议配置 ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE; # 转发到http location / { proxy_pass http://127.0.0.1:3000; } }