1.

Explain How You Can Start Nginx Through A Different Port Other Than 80?

Answer»

To start Nginx through a DIFFERENT port, you have to go to /etc/Nginx/sitesenabled/ and if this is the default FILE, then you have to OPEN file CALLED “default.” Edit the file and put the port you WANT 
Like server { listen 81; }

To start Nginx through a different port, you have to go to /etc/Nginx/sitesenabled/ and if this is the default file, then you have to open file called “default.” Edit the file and put the port you want 
Like server { listen 81; }



Discussion

No Comment Found