请教军哥,阿里云重启后,网站访问不了,可以ping的通,ftp也正常
# chkconfig --listaegis
0:off
1:off
2:on
3:on
4:on
5:on
6:off
agentwatch
0:off
1:off
2:on
3:on
4:on
5:on
6:off
aliyun-util
0:off
1:off
2:on
3:on
4:on
5:on
6:off
atd
0:off
1:off
2:off
3:on
4:on
5:on
6:off
auditd
0:off
1:off
2:on
3:on
4:on
5:on
6:off
blk-availability
0:off
1:on
2:on
3:on
4:on
5:on
6:off
cloud-config
0:off
1:off
2:on
3:off
4:on
5:on
6:off
cloud-final
0:off
1:off
2:on
3:off
4:on
5:on
6:off
cloud-init
0:off
1:off
2:on
3:off
4:on
5:on
6:off
cloud-init-local
0:off
1:off
2:on
3:off
4:on
5:on
6:off
cloud-init-upgrade
0:off
1:off
2:on
3:off
4:on
5:on
6:off
cups
0:off
1:off
2:on
3:on
4:on
5:on
6:off
ip6tables
0:off
1:off
2:on
3:on
4:on
5:on
6:off
iptables
0:off
1:off
2:on
3:on
4:on
5:on
6:off
iscsi
0:off
1:off
2:off
3:on
4:on
5:on
6:off
iscsid
0:off
1:off
2:off
3:on
4:on
5:on
6:off
lvm2-monitor
0:off
1:on
2:on
3:on
4:on
5:on
6:off
mdmonitor
0:off
1:off
2:on
3:on
4:on
5:on
6:off
messagebus
0:off
1:off
2:on
3:on
4:on
5:on
6:off
multipathd
0:off
1:off
2:off
3:off
4:off
5:off
6:off
mysql
0:off
1:off
2:on
3:on
4:on
5:on
6:off
netconsole
0:off
1:off
2:off
3:off
4:off
5:off
6:off
netfs
0:off
1:off
2:off
3:on
4:on
5:on
6:off
network
0:off
1:off
2:on
3:on
4:on
5:on
6:off
nfs-rdma
0:off
1:off
2:off
3:off
4:off
5:off
6:off
nginx
0:off
1:off
2:on
3:on
4:on
5:on
6:off
nscd
0:off
1:off
2:off
3:off
4:off
5:off
6:off
ntpd
0:off
1:off
2:on
3:on
4:on
5:on
6:off
ntpdate
0:off
1:off
2:off
3:off
4:off
5:off
6:off
php-fpm
0:off
1:off
2:on
3:on
4:on
5:on
6:off
portreserve
0:off
1:off
2:on
3:on
4:on
5:on
6:off
pureftpd
0:off
1:off
2:on
3:on
4:on
5:on
6:off
rdisc
0:off
1:off
2:off
3:off
4:off
5:off
6:off
rdma
0:off
1:off
2:off
3:off
4:off
5:off
6:off
restorecond
0:off
1:off
2:off
3:off
4:off
5:off
6:off
rsyslog
0:off
1:off
2:on
3:on
4:on
5:on
6:off
saslauthd
0:off
1:off
2:off
3:off
4:off
5:off
6:off
sshd
0:off
1:off
2:on
3:on
4:on
5:on
6:off
udev-post
0:off
1:on
2:on
3:on
4:on
5:on
6:off
[ 本帖最后由 langqing 于 2018-10-15 19:52 编辑 ] # /usr/local/nginx/sbin/nginx -t
nginx: "location" directive is not allowed here in /usr/local/nginx/conf/vhost/enable-php-pathinfo.conf:2
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed 查到了,似乎是enable-php-pathinfo.conf出了问题,请问怎么恢复。
Starting nginx... nginx: "location" directive is not allowed here in /usr/local/nginx/conf/vhost/enable-php-pathinfo.conf:2
failed
回复 3# 的帖子
只要没动过 enable-php-pathinfo.conf 肯定不是 enable-php-pathinfo.conf 的问题,你自己看看你新建的虚拟主机 enable-php-pathinfo.conf 前后的配置
页:
[1]