| Current Path : /etc/apache2/sites-enabled/ |
| Current File : //etc/apache2/sites-enabled/qa.inatote.com-le-ssl.conf |
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName qa.inatote.com
ErrorLog "/var/node/inatote/qa_inatote/qa_inatote_error_log"
CustomLog "/var/node/inatote/qa_inatote/qa_inatote_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>
SSLCertificateFile /etc/letsencrypt/live/qa.inatote.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/qa.inatote.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>