Your IP : 216.73.216.91


Current Path : /proc/thread-self/root/var/backup_vhost/
Upload File :
Current File : //proc/thread-self/root/var/backup_vhost/dev.inatote.com-le-ssl.conf

<IfModule mod_ssl.c>
<VirtualHost *:443>
    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]



SSLCertificateFile /etc/letsencrypt/live/dev.inatote.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/dev.inatote.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>