Skip to content

Instantly share code, notes, and snippets.

@iMagdy
Last active February 25, 2020 00:46

Revisions

  1. @Islammagdy Islammagdy renamed this gist Sep 9, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Islam Magdy created this gist Jul 30, 2013.
    18 changes: 18 additions & 0 deletions node_apache
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    <VirtualHost *:80>
    ServerAdmin isl@m.magdy
    ServerName js.io
    ServerAlias js.io

    ProxyRequests off

    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>

    <Location />
    ProxyPass http://127.0.0.1:3000/
    ProxyPassReverse http://127.0.0.1:3000/
    </Location>
    DocumentRoot /var/www/
    </VirtualHost>