Wednesday, July 8, 2015

Add Virtual host for nodejs in apache

Open apache virtual conf file


    ServerName www.yourdomain.com
    #ProxyPass / http://192.168.1.102:3000/ connectiontimeout=5 timeout=30  # optional timeout settings

    ProxyRequests off

   
        Order deny,allow
        Allow from all
   


   
        ProxyPass http://localhost:3000/
        ProxyPassReverse http://localhost:3000/
   

No comments:

Post a Comment

how to see xml preview in browser php

xml preview view in browser $xml = new DOMDocument('1.0', 'UTF-8');                 $xml->preserveWhiteSpace = false; ...