Table of Contents as of 2018-10-12
Basic Example:
<IfModule mod_ssl.c>
<VirtualHost *:8080>
# the ptoxy shit
ProxyPreserveHost On
ProxyPass "/" "http://localhost:3000/"
ProxyPassReverse "/" "http://localhost:3000/"
ServerName www.sub.domain.com
# SSL Support
SSLCertificateFile /etc/letsencrypt/live/sub.domain.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/sub.domain.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
Enable this mods:
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod proxy_balancer
sudo a2enmod lbmethod_byrequests
... and don't forget to make Apache listen to the desired port, in this example port: 8080
apache docs
redis-cli KEYS *YOUR_KEY_PREFIX* | xargs redis-cli DEL