Saturday 4 June 2011

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!|||For debian:


edit /etc/nginx/sites-available/default


server {


listen 8081;


...


}





may vary for other distros..