首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX 提问指南
广告
V2EX
›
问与答
求个 nginx 的配置文件,反代 things 的云服务, things 的云服务是在 GAE 上面的,我的好像不对
1dian01
·
2015-03-05 14:42:14 +08:00
· 1719 次点击
这是一个创建于 3515 天前的主题,其中的信息可能已经有所发展或是发生改变。
server {
listen 80;
server_name 106.186.*.*;
location / {
proxy_pass
http://multithreaded.thingscloud.appspot.com
;
}
}
server {
listen 80;
server_name 106.186.*.*;
location / {
proxy_pass
http://thingscloud.appspot.com
;
}
}
Location
Server
Nginx
3 条回复
•
2015-03-05 17:47:25 +08:00
1
TONYHEAD
2015-03-05 16:30:01 +08:00
server {
server_name
你的域名.com
;
location / {
proxy_pass
http://thingscloud.appspot.com/;
}
}
2
1dian01
OP
2015-03-05 16:35:07 +08:00
@
TONYHEAD
其实我是想反代到ip,然后通过修改hosts,让things连接gae
#things
216.58.208.100
multithreaded.thingscloud.appspot.com
216.58.208.100
thingscloud.appspot.com
3
ryd994
2015-03-05 17:47:25 +08:00
@
1dian01
server_name 填目标域名。你现在这样不是重复了么?能行才怪
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
3814 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms ·
UTC 10:15
·
PVG 18:15
·
LAX 03:15
·
JFK 06:15
Developed with
CodeLauncher
♥ Do have faith in what you're doing.