4 ms·
To support SSL you would add a virtual host section like this: <VirtualHost *:443> ServerName mysite.local SSLEngine on SSLCertific
by mg 2y ago
To support SSL you would add a virtual host section like this:
<VirtualHost *:443>
ServerName mysite.local
SSLEngine on
SSLCertificateFile /path/to/cert
SSLCertificateKeyFile /path/to/key
DocumentRoot /app/public
</VirtualHost>
And either use a real cert or add a command to create a self signed one:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key -out cert