VHost Guidance
daBee
nginx-forum at nginx.us
Mon Apr 20 17:34:51 UTC 2015
Hi folks.
Brand new to nginx. I'm trying to run 3 vhosts on my workstation to get
familiar with nginx.
alpha
bravo
charlie
I'm using bravo in the main nginx.conf pointing to /var/www/alpha/
bravo and charlie are in settings/vhosts.conf into /var/www/bravo and
/var/www/charlie
Upon trying to start nginx (installed via homebrew on OSX), I get the
following:
HQ:~ rich$ sudo nginx
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] still could not bind()
Not too sure what that means. I'm sure it's a directive that's not entered
for localhost.
Anyway, any leadership appreciated as to how to get this thing going.
Cheers
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258229,258229#msg-258229
More information about the nginx
mailing list