You should not do nginx -t
or nginx -T
You should do sudo nginx -t
or sudo nginx -T
I don't know why you expect that to work without sudo
I get the same error as you if I don't use sudo for those. That is entirely expected.
You should not do nginx -t
or nginx -T
You should do sudo nginx -t
or sudo nginx -T
I don't know why you expect that to work without sudo
I get the same error as you if I don't use sudo for those. That is entirely expected.