
nginx
List of commands for nginx:
-
nginx:config:test nginx: Test the configuration without affecting the running server.$ nginx -ttry on your machineexplain this command
-
nginx:hosts:list List all server names configured in nginx vhosts$ nginx -T | grep server_nametry on your machineexplain this command
-
nginx:reload Reload the nginx server$ systemctl reload nginxtry on your machineexplain this command
-
nginx:restart Restart the nginx server$ systemctl restart nginxtry on your machineexplain this command
-
nginx:tldr:6ab30 nginx: Start server with a custom configuration file.$ nginx -c ${configuration_file}try on your machineexplain this command
-
nginx:tldr:abb25 nginx: Reload the configuration by sending a signal with no downtime.$ nginx -s reloadtry on your machineexplain this command
-
nginx:tldr:d4c4c nginx: Start server with a prefix for all relative paths in the configuration file.$ nginx -c ${configuration_file} -p ${prefix-for-relative-paths}try on your machineexplain this command
-
nginx:tldr:ee434 nginx: Start server with the default config file.$ nginxtry on your machineexplain this command