Choose Categories:
The Rise of Artificial Intelligence Git Flow Types of Blog Posts Blog Ideas by Topic Madan Mohan Malaviya University Of Technology, Gorakhpur Understanding Pollution: Causes, Effects, and Solutions sample
BlogPic
Q. Nginx commands in windows
2
1
37 views

Here are some common commands used to manage NGINX:

  1. Start NGINX: To start NGINX, use the following command:

    nginx
    
  2. Stop NGINX: To stop NGINX gracefully, use the following command:

    nginx -s stop
    
  3. Restart NGINX: To restart NGINX, use the following command:

    nginx -s reload
    
  4. Test NGINX Configuration: To check the syntax of your NGINX configuration files for errors without restarting NGINX, use the following command:

    nginx -t
    
  5. View NGINX Version: To view the NGINX version, use the following command:

    nginx -v
    
  6. View NGINX Status: To view the status of NGINX and whether it is running, use the following command:

    nginx -s status
    
  7. Show All Processes: To display all NGINX worker processes, use the following command:

    nginx -s show
    
  8. Reload Configuration: To reload the NGINX configuration without restarting the server, use the following command:

    
    nginx -s reload
    
  9. Force Quit NGINX: To force quit NGINX immediately, use the following command:

    nginx -s quit
    
  10. Test HTTPS Configuration: To test HTTPS configuration for a specified server without restarting NGINX, use the following command:

    openssl s_client -connect localhost:443
    

Comments: 1

Create an account to comment:

Register/Login
arjun_patel
arjun_patel
May 25, 2024, 12:21 p.m.

Very Helpful!!

Load more comments.......

Read more related blogs.....

..

The Rise of Artificial Intelligence

2
1
60 views