Trouble with configuring nginx with vmware
Created by: vaseker
I think that next trouble related to installation-docs. My environment is gitlab as one of some vhosts in nginx, running in ubuntu server, via vmware in windows server, and I use 80 port for all vhosts (*.local). If in /etc/nginx/sites-enabled/gitlab writen "listen localhost:80 default_server;" then other vhosts become unaccessable and any virtual address replaces by gitlab in ubuntu system, in parent windows-system all ubuntu's virtual hosts become unaccessable. To resolve this problem I commented 'listen localhost:80;' in all vhost configs and now all hosts works fine in both systems.
Now config looks like upstream { server unix:/..... }
server {
#listen localhost:80 default_server;
server_name git.local;
root /.....
......
}