Thursday, November 18, 2010

How do I change the port nginx uses?

Hello,

I would like to change the port nginx uses to 8080 or something like that. How do I do this?

Thanks in advance!How do I change the port nginx uses?
For debian:

edit /etc/nginx/sites-available/default

server {

listen 8081;

...

}



may vary for other distros..

No comments:

Post a Comment