Test and print the complete loaded configuration.
nginx -TTest and print the complete loaded configuration.
nginx -TTest and print the complete loaded configuration.
nginx -T| Option / clause | Description |
|---|---|
-T | Test the configuration and print the complete loaded configuration. |
-c <file> | Select the configuration file. |
-p <prefix> | Set the server path prefix. |
-g <directives> | Apply global directives for this invocation. |
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.