Your IP : 216.73.216.91


Current Path : /var/backup_vhost/
Upload File :
Current File : //var/backup_vhost/dev.inatote.com.conf

<VirtualHost *:80>
    ServerName dev.inatote.com
    ErrorLog   "/var/node/inatote/testapp/devinatote-error_log"
    CustomLog  "/var/node/inatote/testapp/devinatote-access_log" common

    ## Here's our magic
    ProxyRequests off
    ProxyPreserveHost On
    ProxyVia Full

    <Proxy *>
        Require all granted
    </Proxy>

    <Location />
        ProxyPass http://127.0.0.1:3000/
        ProxyPassReverse http://127.0.0.1:3000/
    </Location>
#    RewriteEngine on
#    RewriteCond %{SERVER_NAME} =dev.inatote.com
#    RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
RewriteEngine on
RewriteCond %{SERVER_NAME} =dev.inatote.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>