Add config options for Apache reverse proxy to not decode slashes

Lars Veldscholte 2019-12-04 10:33:13 +01:00
parent 33e54d4385
commit 3606a1ddbf

@ -37,7 +37,8 @@ I've assumed you have created a DNS A record for `trilium.yourdomain.com` that y
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://localhost:8080/$1 [P,L]
ProxyPass / http://localhost:8080/
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:8080/ nocanon
ProxyPassReverse / http://localhost:8080/
SSLCertificateFile /etc/letsencrypt/live/trilium.yourdomain.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/trilium.yourdomain.com/privkey.pem