6 ms·
`service nginx configtest` does the same thing.
by ceequof 11y ago
`service nginx configtest` does the same thing.
- garethsaxby 11y agoThat's good to know too, yes, but using the nginx binary itself to test is always available, whilst a service command normally involves an init script, systemd config file or similar to be available, and they can vary between packages and distributions.