1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| server { listen 443 ssl; server_name localhost;
ssl_certificate /usr/local/nginx/conf/4122000_www.xxx.com.pem; ssl_certificate_key /usr/local/nginx/conf/4122000_www.xxx.com.key;
ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m;
ssl_ciphers code; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on;
location /server/ { proxy_pass http://localhost:3920/; 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_redirect default ; client_max_body_size 200m; } }
|