Answer the question
In order to leave comments, you need to log in
How to check nginx configuration?
Debian 10. All my life, before rebooting, I checked this way:
nginx -t
/bin/bash: nginx: command not found
Answer the question
In order to leave comments, you need to log in
The same, it's just that your PATH is not registered.
Try:
/usr/local/sbin/nginx - t
/bin/bash/nginx -t
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question