Check Nginx Service Status
# Linux
systemctl status nginx
# Windows
sc query nginx
Nginx
Windows
Linux
Open Nginx Configuration Folder
# Linux
cd /etc/nginx
# Windows
explorer C:\nginx\conf
Nginx
Windows
Linux
Reload Nginx
# Linux
sudo service nginx reload
# Windows
nginx -s reload
Nginx
Windows
Linux
Check Nginx Processes
# Linux
ps aux | grep nginx
# Windows
tasklist /fi "imagename eq nginx.exe"
Nginx
Windows
Linux
Start Nginx in the Foreground
# Linux
nginx -g "daemon off;"
# Windows
nginx -g "daemon off;"
Nginx
Windows
Linux
Show Nginx Version
# Linux
nginx -v
# Windows
nginx -v
Nginx
Windows
Linux
Test Nginx Configuration
# Linux
nginx -t
# Windows
nginx -t
Nginx
Windows
Linux
Restart Nginx
# Linux
sudo service nginx restart
# Windows
nginx -s reload
Nginx
Windows
Linux
Stop Nginx
# Linux
sudo service nginx stop
# Windows
nginx -s stop
Nginx
Windows
Linux
Start Nginx
# Linux
sudo service nginx start
# Windows
start nginx
Nginx
Linux
Windows
Loading...
Sorry! No result found:(
We don't have any cmd in this platform