nginx配置:
server {
listen 443;
server_name www.lidoogroup.com;
ssl on;
ssl_certificate cert/4625316_www.lidoogroup.com.pem;
ssl_certificate_key cert/4625316_www.lidoogroup.com.key;
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
location / {
root /app/html/;
index index.html;
try_files $uri $uri/ @router;
}
location ^~ /getUrl/ {
proxy_pass http://ip:port/getVoiceUrl/;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarde