server {
listen 80;
server_name 1.iamle.com 2.iamle.com 3.iamle.com;
location /{
proxy_pass http://8.8.8.8:83;
proxy_redirect 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;
}
}
相关文章
- vps上用nginx的proxy功能悲剧 (0.746)
- 远程登录Linux上的MySQL数据 (0.678)
- Nginx下WordPress链接(url)301永久重定向。 (0.322)
- Nginx 环境 WordPress cos-html-cache只生产首页问题 (0.322)
- 三大WEB服务器软件比较(Apache ,Lighttpd,Nginx)对比分析 (0.322)
- Filebeat Nginx Module 自定义字段 (RANDOM - 0.068)