26 lines
632 B
Plaintext
26 lines
632 B
Plaintext
<VirtualHost *:443>
|
|
Protocols h2 h2c http/1.1
|
|
ServerName extha.bnhmeijer.nl
|
|
SSLProxyEngine on
|
|
ProxyRequests off
|
|
ProxyPreserveHost off
|
|
RequestHeader unset Origin
|
|
|
|
|
|
ProxyPass /api/websocket wss://ha.bnhmeijer.nl/api/websocket
|
|
ProxyPassReverse /api/websocket ws://ha.bnhmeijer.nl/api/websocket
|
|
ProxyPass / https://ha.bnhmeijer.nl/
|
|
ProxyPassReverse / https://ha.bnhmeijer.nl/
|
|
|
|
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
|
|
|
|
|
|
|
|
SSLCertificateFile /etc/letsencrypt/live/bm4.nl-0002/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/bm4.nl-0002/privkey.pem
|
|
</VirtualHost>
|
|
|
|
|