100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > nginx https代理http 以及代理外网

nginx https代理http 以及代理外网

时间:2020-10-13 01:33:18

相关推荐

nginx https代理http  以及代理外网

server{listen 5002 ssl; #nginx服务端口server_name localhost; #域名root "D:/phpstudy_pro/WWW";index index.html index.htm;ssl_certificate "D:/zhengshu/5155147_xueli.plus.pem";#证书路径ssl_certificate_key "D:/zhengshu/5155147_xueli.plus.key";#证书路径gzip on;gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;gzip_types *;gzip_vary on;# 反向代理location / {try_files $uri /index.html;proxy_pass http://bm./pp/gkweb/core/web/ui/business/auth/login.html/;proxy_set_header Host $proxy_host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header Via "nginx";}}

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。