13
07/24
nginx自动切换到手机/PC 网站
server { listen 80; listen 443 ssl http2; server_name www.xxx.com; ssl_certificate /usr/local/nginx/conf/ssl/xxx.com.pem; ssl_certificate_key /usr/local/nginx/conf/ssl/xxx.com.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; error_page 497 https://...