Created
September 8, 2014 23:47
-
-
Save mdoroudi/8047c0bf24a30d7d1d67 to your computer and use it in GitHub Desktop.
Revisions
-
mdoroudi created this gist
Sep 8, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ <VirtualHost *:3000> ServerName ip-10-96-7-180 DocumentRoot /srv/charon/current/public RailsBaseURI / RailsEnv production <Directory /srv/charon/current/public> Order allow,deny Allow from all </Directory> <LocationMatch "^/health"> Order Allow,Deny Allow from all </LocationMatch> <LocationMatch "^/resque"> Order Deny,Allow Deny from all Allow from 127.0.0.1 Allow from 204.77.168.0/23 Allow from 10.70.0.0/16 Allow from 10.80.0.0/13 Allow from 192.168.50.0/24 Allow from 10.40.0.0/13 </LocationMatch> XSendFile On XSendFilePath /srv/charon/shared/data ErrorLog /var/log/apache2/charon-error.log CustomLog /var/log/apache2/charon-access.log combined SetEnv TMPDIR /mnt/tmp PassEnv TMPDIR </VirtualHost>