1 2 3 4 |
proxy_set_header Accept-Encoding ""; sub_filter '中文/英文' '中文/英文'; sub_filter_types *; sub_filter_once off; |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
server{ #listen 8443 ssl; listen 80; server_name shooter.xxxxx.com; #ssl on; #ssl_certificate /etc/nginx/ssl/cloudfile.xxxxx.com.crt; #ssl_certificate_key /etc/nginx/ssl/cloudfile.xxxxx.com.key; #ssl_session_timeout 5m; #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE; #ssl_prefer_server_ciphers on; location / { proxy_pass http://localhost:8888; proxy_set_header Accept-Encoding ""; sub_filter '\u7fa4\u7ec4' '\u90e8\u95e8'; sub_filter_types *; sub_filter_once off; 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_set_header REMOTE-HOST $remote_addr; add_header X-Cache $upstream_cache_status; add_header Cache-Control no-cache; proxy_redirect default; } } |
- 本文固定链接: https://www.yoyoask.com/?p=11022
- 转载请注明: shooter 于 SHOOTER 发表