-
2017-05-16 17:12:32
- nginx开启http2之后访问仍然是http1.1
- 问题:nginx开启了http2之后访问时仍然是http1.1 nginx配置相关: {代码...} 安装时配置: {代码...} 错误日志中无报错。 nginx -t测试命令结果: {代码...} 求解惑。
-
0
1
734
-
2017-05-16 17:11:02
-
2017-05-16 17:10:55
- nginx 访问某个特定的页面就进行重定向
- 在一个nginx server上有多个域名,想让访问其中一个具体的页面如下,就rewrite到google.com 配置如下,发现并没有生效,感觉 $http_host$request_uri 没有匹配到那个页面。 {代码...} 谁知道怎么写呢?
-
0
1
643
-
2017-05-16 17:10:22
- nginx多域名解析的问题
- 当前nginx使用的配置文件是 /etc/nginx/conf.d/default.conf 现在要新增一个域名绑定,所以我在default.conf最末行添加了 include theDomain.conf; theDomain.conf中,绑定的端口是80,server_name www.thedomain...
-
0
4
973
-
2017-05-16 17:09:40
-
2017-05-16 17:09:23
- 关于nginx location匹配的问题
- 配置nginx使其支持php-fpm时,发现一个问题,如下图配置 此时访问http://host/server.php是没问题的 但是当我去掉了~后 如图 此时访问http://host/server.php出问题了 请教为什么一定要有~号呢 我原先的理解是,/...
-
0
1
836
-
2017-05-16 17:08:25
-
2017-05-16 17:08:21
- Nginx 配置proxy指令设置问题
- {代码...} 如上,当proxy_set_header 设置为跟server name 一样的时候,出现502错误。 error stack如下: upstream prematurely closed connection while reading response header from upstream, client: 127.0....
-
0
2
1263
-
2017-05-16 17:08:00
- nginx配置实现二级域名?
- 网上的都没怎么看懂 因为nginx和IIS的端口都是80,冲突了,然后修改IIS端口还是不行所以想用nginx配置实现二级域名。
-
0
1
584
-
2017-05-16 17:07:27