Upload Local Repository to Remote Nginx Git Server with Simple HTTP

This is a little memo about uploading local repository codes to remote git server.

First of all you will need to install git on both local PC and remote nginx server. Here will just assume you already have git installed and have local repository with source code already working on.

Now let’s initialize the remote repository.

Have basic authentication user and password.

Since will be working with Nginx for web server, will need to install fcgiwrap to work the git Simple HTTP. Here will assume fcgiwrap is already installed. Inside the Nginx will create virtual host.

And now inside the config file…

Please memo about the order of settings written inside “location” or good possibility the setup will not work. If the setup is not working check the error log. Now make the sim link and restart the nginx service. At this point make sure fcgiwrap is running on service.

Go to your local PC repository and enter below command.

Enter user and password and you should be all set.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

ERROR: si-captcha.php plugin says GD image support not detected in PHP!

Contact your web host and ask them why GD image support is not enabled for PHP.

ERROR: si-captcha.php plugin says imagepng function not detected in PHP!

Contact your web host and ask them why imagepng function is not enabled for PHP.