Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): mention update to Traefik fixes the issue

Elian Dorana487a56eb0d6
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.html
index b2aea2650c..e809901517 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.html
@@ -6,19 +6,25 @@
how percent-encoded characters are handled in URLs. More specifically some
URLs used by Trilium (such as <code spellcheck="false">search/%23workspace%20%23!template</code>)
are automatically rejected by Traefik, resulting in HTTP 400 errors.</p>
-<p>To solve this, the Traefik <a href="https://doc.traefik.io/traefik/getting-started/configuration-overview/#the-install-configuration"><strong>static</strong> configuration</a> must
- be modified in order to allow those characters:</p><pre><code class="language-text-x-yaml">entryPoints:
+<p>The easiest solution is to update to Traefik 3.6.7 or later which reverts
+ this configuration change. Alternatively, the configuration can be changed
+ according to the section below.</p>
+<details class="trilium-collapsible">
+ <summary>Configuration change</summary>
+ <p>To solve this, the Traefik <a href="https://doc.traefik.io/traefik/getting-started/configuration-overview/#the-install-configuration"><strong>static</strong> configuration</a> must
+ be modified in order to allow those characters:</p><pre><code class="language-text-x-yaml">entryPoints:
web:
http:
encodedCharacters:
allowEncodedSlash: true
allowEncodedHash: true</code></pre>
-<aside class="admonition tip">
- <p>If you still have issues, depending on how Trilium is used (especially
- regarding search), you might need to enable more encoded character groups.
- For more information, see <a href="https://github.com/TriliumNext/Trilium/issues/7968">the relevant GitHub issue</a>;
- feel free to report your findings.</p>
-</aside>
+ <aside class="admonition tip">
+ <p>If you still have issues, depending on how Trilium is used (especially
+ regarding search), you might need to enable more encoded character groups.
+ For more information, see <a href="https://github.com/TriliumNext/Trilium/issues/7968">the relevant GitHub issue</a>;
+ feel free to report your findings.</p>
+ </aside>
+</details>
<h3>Build the docker-compose file</h3>
<p>Setting up Traefik as reverse proxy requires setting the following labels:</p><pre><code class="language-text-x-yaml"> labels:
- traefik.enable=true
diff --git a/docs/Developer Guide/!!!meta.json b/docs/Developer Guide/!!!meta.json
index 36e85974cb..76d8a4cea5 100644
--- a/docs/Developer Guide/!!!meta.json
+++ b/docs/Developer Guide/!!!meta.json
@@ -1,6 +1,6 @@
{
"formatVersion": 2,
- "appVersion": "0.104.1",
+ "appVersion": "0.105.0",
"files": [
{
"isClone": false,
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index 11bfd1b010..b443be113b 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -1,6 +1,6 @@
{
"formatVersion": 2,
- "appVersion": "0.104.1",
+ "appVersion": "0.105.0",
"files": [
{
"isClone": false,
diff --git a/docs/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.md b/docs/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.md
index 6630185a58..59af92a7e9 100644
--- a/docs/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.md
+++ b/docs/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.md
@@ -5,19 +5,19 @@ The goal of this article is to configure Traefik proxy and HTTPS. See [#7768](ht
Traefik 3.6.4 introduced a [breaking change](https://doc.traefik.io/traefik/migrate/v3/#encoded-characters-in-request-path) regarding how percent-encoded characters are handled in URLs. More specifically some URLs used by Trilium (such as `search/%23workspace%20%23!template`) are automatically rejected by Traefik, resulting in HTTP 400 errors.
-To solve this, the Traefik [**static** configuration](https://doc.traefik.io/traefik/getting-started/configuration-overview/#the-install-configuration) must be modified in order to allow those characters:
+The easiest solution is to update to Traefik 3.6.7 or later which reverts this configuration change. Alternatively, the configuration can be changed according to the section below.
-```yaml
-entryPoints:
+<details>
+ <summary>Configuration change</summary>
+ <p>To solve this, the Traefik <a href="https://doc.traefik.io/traefik/getting-started/configuration-overview/#the-install-configuration"><strong>static</strong> configuration</a> must be modified in order to allow those characters:</p>
+ <pre><code class="language-text-x-yaml">entryPoints:
web:
http:
encodedCharacters:
allowEncodedSlash: true
- allowEncodedHash: true
-```
-
-> [!TIP]
-> If you still have issues, depending on how Trilium is used (especially regarding search), you might need to enable more encoded character groups. For more information, see [the relevant GitHub issue](https://github.com/TriliumNext/Trilium/issues/7968); feel free to report your findings.
+ allowEncodedHash: true</code></pre>
+ <aside class="admonition tip"><p>If you still have issues, depending on how Trilium is used (especially regarding search), you might need to enable more encoded character groups. For more information, see <a href="https://github.com/TriliumNext/Trilium/issues/7968">the relevant GitHub issue</a>; feel free to report your findings.</p></aside>
+</details>
### Build the docker-compose file