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