Validate the OpenResty configuration.
openresty -tValidate the OpenResty configuration.
openresty -tValidate the OpenResty configuration.
openresty -t| Option / clause | Description |
|---|---|
-t | Test the OpenResty/Nginx configuration. |
-c <file> | Select the configuration file. |
-p <prefix> | Set the server path prefix. |
-q | Suppress non-error messages during the test. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.