BAE nginx 反向代理配置
一份可用的nginx 反向代理配置,用来给BAE 绑域名。
###BAE
server {
listen 80;
server_name www.yourdomain.com;
location / {
proxy_redirect off;
proxy_pass http://yourapp.duapp.com;
proxy_set_header Host "yourapp.duapp.com";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
error_log off;
}
}
《BAE 不让绑域名了,用nginx 反向代理绑定域名》 http://www.ijd8.com/t/31
0
See Also
- 想问一下 youbbs 关于nginx部署的配置。谁能共享下
- 安装了BAE 最新版本。可是主界面的 发新贴有问题
- 1.04版本的 BAE版 什么时候出来啊。。。等好久呢?
- 请问在BAE上架设youbbs的时候最后执行安装怎么出现数据库错误
- 百度开发者中心BAE服务收费通知
求新版 新方法