How to install Gitlab in a VM on a production server?
Posted
by
Michaël Perrin
on Server Fault
See other posts from Server Fault
or by Michaël Perrin
Published on 2013-10-23T14:26:52Z
Indexed on
2013/10/23
15:57 UTC
Read the original article
Hit count: 235
I have a production server running Ubuntu 12.04 and I would like to install on it a VM with Gitlab (using Vagrant and Virtualbox).
Let's say that the address to access Gitlab is gitlab.mydomain.com . The DNS zone has been configured to point to the IP address of the server.
I want users to be able to access to Gitlab (either for pushing to a repository, or for accessing to the web interface) from the outside.
The VM has been configured to have an IP address.
It means that when browsing http://gitlab.mydomain.com for instance, the request has to be forwarded to the VM on the server, ie. to the VM IP address.
What are the ways to configure this? Can Apache be used as a proxy?
In this case, I guess it only works for HTTP requests, but not for pushing to a Git repository on the VM.
© Server Fault or respective owner