Created
October 14, 2017 18:50
-
-
Save aceqbaceq/c1279e0aba69ab74a66bf0a40e9d850a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:81> | |
Servername git | |
ServerAdmin webmaster@localhost | |
DocumentRoot /home/ubuntu | |
<Directory /home/ubuntu> | |
Allow from All | |
Options +ExecCGI | |
AllowOverride All | |
Require all granted | |
</Directory> | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
SetEnv GIT_HTTP_EXPORT_ALL | |
SetEnv GIT_PROJECT_ROOT /home/ubuntu | |
ScriptAlias /git /usr/lib/git-core/git-http-backend | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment