V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zhujunsan  ›  全部回复第 4 页 / 共 4 页
回复总数  74
1  2  3  4  
2015-04-02 23:03:32 +08:00
回复了 ren2881971 创建的主题 NGINX 请教 nginx 多个 server 怎么配置~
@ren2881971 DNS管理里面,设置两条A记录就好了。不过国内的话还是建议把DNS解析放到dnspod吧~免费稳定也很好用~
2015-04-02 22:57:10 +08:00
回复了 ren2881971 创建的主题 NGINX 请教 nginx 多个 server 怎么配置~
@ren2881971
这么写吧:
location ^~ /test{
proxy_pass http://123.56.118.252/;
}
并且把这个规则放到那个php的上面
2015-04-02 22:48:41 +08:00
回复了 ren2881971 创建的主题 NGINX 请教 nginx 多个 server 怎么配置~
@ren2881971 2个不一样的二级域名。foo.xxx.com, bar.xxx.com这样分。不止两个server,几十个server也是正常,每个server写在一个配置文件里。
2015-04-02 22:30:16 +08:00
回复了 ren2881971 创建的主题 NGINX 请教 nginx 多个 server 怎么配置~
@ren2881971 *.php被上面那条location吃掉了吧 XD
2015-04-02 22:15:21 +08:00
回复了 ren2881971 创建的主题 NGINX 请教 nginx 多个 server 怎么配置~
livid亲自来回复啦@@!

location = /test{
proxy_pass http://123.56.118.252/;
}

location后面可以跟正则表达式,官方文档: http://nginx.org/en/docs/http/ngx_http_core_module.html#location
2015-04-02 21:46:48 +08:00
回复了 tuoxie007 创建的主题 程序员 刚花了一分钟面试完一个 iOS 工程师
@padthai 不记得复旦有参与@@ 而且上海的ipv6似乎在交大...
2015-04-02 21:26:36 +08:00
回复了 tuoxie007 创建的主题 程序员 刚花了一分钟面试完一个 iOS 工程师
@padthai 北邮能理解,复旦肿么了?
@lonelygo 管饭,自助餐,宥酒
2015-02-10 10:09:49 +08:00
回复了 penghui 创建的主题 酷工作 [上海]智能硬件创业公司 nonda 招 iOS/Android 开发工程师
我来帮顶一下~
话说硬件部分都是美国那边研发?
2014-11-27 09:55:05 +08:00
回复了 cshwen 创建的主题 Android 自从升级 Android5.0 棒棒糖,低头党从此戒掉了,兼容性(/ □ \)
为什么要用QQ系的东西...升了5.0无感,一切都挺好的
然后把某个实验性的功能关掉。一般是调了什么开关了。没有动过的话那就重设为默认值吧。然后不加参数正常重启应该就好了。
启动参数里加--no-experiments

--no-experiments 说明:
Disables all experiments set on chrome://flags. Does not disable chrome://flags itself. Useful if an experiment makes chrome crash at startup: One can start chrome with --no-experiments, disable the problematic lab at about:flags and then restart chrome without this switch again.
2013-07-31 08:53:21 +08:00
回复了 DRcoding 创建的主题 VPS 新手求推荐个性价比高的VPS
@chairuosen 树莓派有1G的?哪里?
1  2  3  4  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3361 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 05:13 · PVG 13:13 · LAX 22:13 · JFK 01:13
Developed with CodeLauncher
♥ Do have faith in what you're doing.