15 lines
522 B
Text
15 lines
522 B
Text
|
<VirtualHost *:443>
|
||
|
ServerName example.com
|
||
|
ServerAlias "example.com"
|
||
|
UseCanonicalName on
|
||
|
ProxyPreserveHost on
|
||
|
ProxyPass / http://localhost:3000/
|
||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||
|
SSLEngine on #Optional for SSL
|
||
|
SSLCertificateFile /path/to/ssl/example.com.pem
|
||
|
SSLCertificateKeyFile /path/to/ssl/example.com.key
|
||
|
SSLProtocol +TLSv1.2 +TLSv1.3 #Optional can be removed
|
||
|
Protocols h2 h2c #Optional can be removed
|
||
|
</VirtualHost>
|