Below is the VirtualHost conf example, Just change ServerName to yours And also change path of cert and key.
Check ssl module is enabled or not
<VirtualHost *:443>
ServerName example.com
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
SSLEngine on
SSLProxyEngine On
SSLCertificateFile path/to/example.crt
SSLCertificateKeyFile path/to/example.key
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / https://localhost:3026/
ProxyPassReverse / https://localhost:3026/
</VirtualHost>
Check ssl module is enabled or not
<VirtualHost *:443>
ServerName example.com
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
SSLEngine on
SSLProxyEngine On
SSLCertificateFile path/to/example.crt
SSLCertificateKeyFile path/to/example.key
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / https://localhost:3026/
ProxyPassReverse / https://localhost:3026/
</VirtualHost>
No comments:
Post a Comment