server{
listen 443;
server_name sound.husuishiye.com;
ssl on;
#从腾讯云获取到的第一个文件的全路径
ssl_certificate C:/Users/Administrator/Desktop/nginx-1.18.0/conf/****.pem;
#从腾讯云获取到的第二个文件的全路径
ssl_certificate_key C:/Users/Administrator/Desktop/nginx-1.18.0/conf/****.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://*******:8080;
index index.html index.htm;
}
location /file/ {
alias C:/Users/Administrator/Desktop/;
}
}