Answers for "how to know if nginx <works"

2

check if nginx is running

service nginx status
Posted by: Guest on August-16-2021
3

nginx syntax check

$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Posted by: Guest on October-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language