Answers for "check if nginx syntax"

3

config test nginx

$ 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 February-02-2021
1

config test nginx

$ sudo nginx -T
Posted by: Guest on February-02-2021

Browse Popular Code Answers by Language