Answer the question
In order to leave comments, you need to log in
Nginx, why could it stop working?
Good afternoon. I worked with nginx on centos7 on virtualbox virtual machine. Everything was hurt. I rebooted the computer, I start the virtual machine, all the sites on it do not respond (white page, code 404 in the inspector). Started reloading nginx, then php-fpm, neither worked.
[[email protected] ~]# ps -auxww | grep nginx
root 2601 0.0 0.1 47808 1116 ? Ss 19:03 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 2602 0.0 0.1 48240 1892 ? S 19:03 0:00 nginx: worker process
nginx 2603 0.0 0.1 48240 1892 ? S 19:03 0:00 nginx: worker process
nginx 2604 0.0 0.1 48240 1892 ? S 19:03 0:00 nginx: worker process
nginx 2605 0.0 0.1 48240 1892 ? S 19:03 0:00 nginx: worker process
root 2637 0.0 0.0 112648 976 pts/0 S+ 19:08 0:00 grep --color=auto nginx
Answer the question
In order to leave comments, you need to log in
Logs are empty.
nginx works, upstream does not work, which is BEHIND nginx. Show the config /etc/nginx/sites-enabled/something.conf, then we'll see.
Host problem. I don’t understand why this is so, I can knock on the server fine via ssh, but through the browser 127.0.0.1 it doesn’t go into the virtual machine, although port forwarding is configured correctly and worked fine before. Actually, the ssh forwarding rule is nearby and everything is fine with ssh.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question