Skip to content

Instantly share code, notes, and snippets.

View chrsgrffth's full-sized avatar

Christian Griffith chrsgrffth

View GitHub Profile
@mrtnpro
mrtnpro / virtualhostx-rails-app-conf
Created May 18, 2015 15:59
VirtualHostX Custom Directives config for Rails apps
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ http://localhost:3000/%{REQUEST_URI} [P,QSA]
<Proxy *>
Allow from all
</Proxy>