-
2017-05-16 17:15:48
- nginx - php fastcgi进程数设为0好吗,该如何设?
- 服务器4核8G内存,cpu(30-50%),内存(40-50%)每天都会出现几次502查了一下netstat -anpo | grep "php-cgi" | wc -l 是3 以下是我的/usr/local/php/etc/php-fpm.conf 内容 {代码...} nginx error 日志中有很多fas...
-
0
1
1888
-
2017-05-16 17:15:38
- rewrite - nginx alias的用途具体是什么?
- 最近在看nginx,但是不太清楚alias的用途具体有什么用?root和rewrite都可以实现它,为什么还要使用alias呢? {代码...} 上面的配置中,rewrite生效了达到我的预期。但是alias这个就出现了问题。
-
0
1
934
-
2017-05-16 17:15:11
- node - nginx 当反向服务器挂掉时的策略
- 做 node 同构时,现在想实现让服务器挂调的时候,直接让 nginx 返回静态资源,请问该如何配置 nginx 呢? 比如访问 a.xx.com/test.html, 当 node 服务器挂掉后,直接让nginx返回test.html的静态文件,这个有办法...
-
0
2
876
-
2017-05-16 17:12:52
- nginx 怎么根据不同子域名对应不同目录的资源文件 ?
- 例如:a.example.com/index.html 对应 /a-direcoty/index.html,而b.example.com/index.html 对应 /b-direcoty/index.html
-
0
2
871
-
2017-05-16 17:12:01
-
2017-05-16 17:08:57
-
2017-05-16 17:08:23
- nginx根据域名进行负载均衡问题
- 问题 {代码...} 说明: {代码...} 访问域名502: {代码...} 疑问? nginx upstream可以根据域名进行负载均衡吗?设置了Host $http_host还是一样的
-
0
1
950
-
2017-05-16 17:05:07
- httpd - apache虚拟目录禁止访问,请问错误在哪里(附conf文件)?
- {代码...} 访问 http://alangs.info/hc 或者 http://alangs.info/hc/index.php 都报没有权限访问的错误。 实际上 /home/bitnami/hanchuan/htdoc/index.php 是存在的。 请问错误在哪里?问题解决了。 把:Order al...
-
0
6
883
-
2017-05-16 17:04:57
-
2017-05-16 17:04:35
- nginx - 同一个服务器能否设置两个域名访问两个不同项目?
- 例如有分别由PHP和Ruby开发的两个不同项目,想在同一台服务器上使用。 PHP项目的URL: http://site1.com Ruby项目的URL: http://site2.com 这里有端口问题,默认都是80。在另一个URL后加别的端口访问当然没问题...
-
0
4
881