Updated Apache (markdown)

Lauri Ojansivu 2018-09-11 00:22:16 +03:00
parent 64e75fb30d
commit 06fe478189

@ -37,11 +37,9 @@ Config at `/etc/apache2/sites-available/example.com.conf`:
ServerName example.com ServerName example.com
SSLEngine On SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem
Include /etc/letsencrypt/options-ssl-apache.conf Include /etc/letsencrypt/options-ssl-apache.conf
ServerSignature Off ServerSignature Off
ProxyPassMatch "^/(sockjs\/.*\/websocket)$" "ws://127.0.0.1:3001/$1" ProxyPassMatch "^/(sockjs\/.*\/websocket)$" "ws://127.0.0.1:3001/$1"
@ -61,9 +59,8 @@ Config at `/etc/apache2/sites-available/example.com.conf`:
ServerName example.com/wekan ServerName example.com/wekan
SSLEngine On SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem
Include /etc/letsencrypt/options-ssl-apache.conf Include /etc/letsencrypt/options-ssl-apache.conf
ServerSignature Off ServerSignature Off