Nginx gitweb windows
Connect and share knowledge within a single location that is structured and easy to search. See this issue which is still not resolved. An alternative to Gogs mentioned in this answer is gitea. Gogs is developed by one maintainer Unknwon. Gitea is developed more collaboratively. Gitea releases are more regular than Gogs releases , and its feature set is more complete. And it allows do pull requests!
See Git for Windows 2. The gitweb component was removed because it is highly unlikely to be used on Windows. Git for Windows is intended to be used by end users. GitWeb, however, wants to be used in conjunction with a web server such as Apache, and even requires a Perl module to be installed in that web server.
It is almost guaranteed that nobody uses Git for Windows that way, so let's just exclude those files from the installer. How are we doing? Please help us improve Stack Overflow. The available sites are in a sites-available folder. We can selectively enable the sites by symlinking from sites-available to sites-enabled. Since port 80 is probably already in use by the default website on your server, we'll use another port to serve our Git repos.
These contents show up in the Gitweb's description column. You can then use wget www. Also, curl -I www. If not, just restart FCGIwrap:. Skip to content.
Since you are reading this it is likely you already do, but just in case: sudo apt-get install git There is no requirement to configure this, but you may wish to set your username and email address.
You can do that like so: git config --global user. CGI You then need to install a fast cgi wrapper and something that will handle spawning the fcgi instances as appropriate. Git Web Now we need to install the gitweb package that will actually display the git repositories and provide search.
Some settings are within the. Linking The final part of setting it up is actually linking it all up together. Making it all nice! Securing it You may not wish to have everyone browsing your projects, especially as the gitweb interface allows them to clone your projects. If you add the lines: allow Vinayak Mishra permalink. Manuel Malagon permalink. Satish Bharatiya permalink.
Eric Johnson permalink. Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in:. Email required Address never made public. Name required. Warning : Upstream Nginx devs also offer packages for wheezy, but requires more tweaking than the one from backports.
So, the following assumes nginx from backports. Nginx works such that it can serve multiple websites at same time. The available sites are in a sites-available folder. We can selectively enable the sites by symlinking from sites-available to sites-enabled. Since port 80 is probably already in use by the default website on your server, we'll use another port to serve our Git repos.
These contents show up in the Gitweb's description column. You can then use wget www. Also, curl -I www.
0コメント