I want to configure a Nginx as a proxy server as following:
(1) Client PC <-----> (2)Nginx <------> (3)Bitbucket
In that:
(3)
Bitbucket: I have created a repository, I can work with it via either ssh or https.- ssh:
git@bitbucket.org:myname/myproject.git
- https:
https://myname@bitbucket.org/myname/myproject.git
- ssh:
(1)
Client PC: from client I do not want to use directly domain bitbucket.org, instead of, I want to use address of Nginx server to conceal bitbucket.org domain. So I used to use Nginx.(2)
Nginx: I already installed and configured, It works well for http web.
My problem is I do not know how to configure Nginx to work with git bitbucket.
Please help me some suggestion.