From ee3c78cd3396d07f21ab7493ab61e722ba186486 Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Mon, 9 Jan 2023 12:41:21 +0100 Subject: [PATCH] Add doc about plaintext localhost backend --- doc/DISCLAIMER.md | 4 ++++ doc/DISCLAIMER_fr.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 3f6a3d5..78a63d1 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -5,3 +5,7 @@ The request is transmitted as-is to the backend server. This usually means that To support relative URLs from the backend, accessing the application via `http(s)://example.com/proxy` will permanent redirect (302) to `http(s)://example.com/proxy/` (trailing slash). Otherwise, a relative link like `` would try to load `http(s)://example.com/style.css` which would fail. It is possible that your backend service does not support setting up a "base URL" (custom web path). In that case, you will have to install the application on a dedicated (sub)domain. + +### Plaintext localhost backend + +Plaintext HTTP backend is only allowed on localhost. For now, only 127.X.X.X is allowed. 10.X.X.X should also be supported. diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 1f9af19..4f4e535 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -5,3 +5,7 @@ La requête est transmise telle-quelle au serveur backend. Cela veut usuellement Pour supporter les URLs relatives depuis le backend, accéder à l'application via `http(s)://example.com/proxy` produit une redirection permanente (302) vers `http(s)://example.com/proxy/` (avec le slash de fin). Sinon, un lien relatif comme `` essayerait de charger `http(s)://example.com/style.css`, ce qui échouerait. Il est possible que votre service backend ne supporte pas de configurer une "base URL" (chemin web personnalisé). Dans ce cas, il faudra installer l'application sur un (sous-)domaine dédié. + +### Backend localhost en clair (plaintext) + +Les connexions en clair en HTTP au backend ne sont autorisées qu'en localhost sur les adresses 127.X.X.X. Il faudrait aussi supporter 10.X.X.X.