virtualbox and nginx server_name

Posted by Ivan on Super User See other posts from Super User or by Ivan
Published on 2012-12-12T16:36:36Z Indexed on 2012/12/12 17:07 UTC
Read the original article Hit count: 232

Filed under:
|
|

I'm trying to configure gitlab running in an Ubuntu 12.04 guest with Windows7 host. I can ssh the guest using port-forwarding and access the nginx server using port redirection (8888 in host is 80 in guest, so localhost:8888 in host gets to the nginx server in the guest), but the server_name in nginx configuration file is giving me trouble. What is the correct listen and server_name that nginx would accept?

The guest has the NAT interface at 10.0.2.15 and Host-Only interface at 192.168.56.101, static.

Thanks!

© Super User or respective owner

Related posts about ubuntu

Related posts about networking