mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
Add config options for Apache reverse proxy to not decode slashes
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:Connection} Upgrade [NC]
|
||||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||||
RewriteRule /(.*) ws://localhost:8080/$1 [P,L]
|
RewriteRule /(.*) ws://localhost:8080/$1 [P,L]
|
||||||
ProxyPass / http://localhost:8080/
|
AllowEncodedSlashes NoDecode
|
||||||
|
ProxyPass / http://localhost:8080/ nocanon
|
||||||
ProxyPassReverse / http://localhost:8080/
|
ProxyPassReverse / http://localhost:8080/
|
||||||
SSLCertificateFile /etc/letsencrypt/live/trilium.yourdomain.com/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/trilium.yourdomain.com/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/trilium.yourdomain.com/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/trilium.yourdomain.com/privkey.pem
|
Loading…
x
Reference in New Issue
Block a user