Login
Remember
Register
Ask a Question
How You Can Start Nginx Through A Different Port Other Than 80?
0
votes
asked
Dec 16, 2019
in
NGINX
by
sharadyadav1986
Explain How You Can Start Nginx Through A Different Port Other Than 80?
#nginx-port
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 16, 2019
by
SakshiSharma
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; }
...