Last active
August 29, 2015 13:56
-
-
Save tigefa4u/9294404 to your computer and use it in GitHub Desktop.
gitlab passenger
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
LoadModule passenger_module /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so | |
<IfModule mod_passenger.c> | |
PassengerRoot /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.37 | |
PassengerDefaultRuby /usr/local/bin/ruby | |
</IfModule> | |
<VirtualHost *:80> | |
ServerName source.tigefa.org | |
ServerAlias www.source.tigefa.org | |
# !!! Be sure to point DocumentRoot to 'public'! | |
DocumentRoot /home/git/gitlab/public | |
PassengerAppRoot "/home/git/gitlab | |
PassengerUser git | |
PassengerGroup git | |
<Directory /home/git/gitlab/public> | |
PassengerEnabled on | |
Options -MultiViews | |
AllowOverride All | |
<IfVersion < 2.3 > | |
Order allow,deny | |
Allow from all | |
</IfVersion> | |
<IfVersion >= 2.3> | |
Require all granted | |
</IfVersion> | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment