Dear Discourse community. I have a question that I hope you can help me with.
I would like to install Discourse on a dedicated Ubuntu virtual machine (Oracle VirtualBox). example: 192.168.6.15.
I already have Apache2 and Nginx servers running on the same local network.
Could I just use a proxy like:
(apache sample)
<VirtualHost x.x.x.x:443>
ServerName forum.example.org
RewriteEngine On
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/forum.example.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/forum.example.org/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.6.15:4578/
ProxyPassReverse / http://192.168.6.15:4578/
</VirtualHost>
Would that work?
Is it good practice?
I guess let’s encrypt on a proxy server that will handle SSL?