From 6d0187bead5e6fc633b4b53975a248cae04bdfbd Mon Sep 17 00:00:00 2001 From: David Mehren Date: Thu, 12 Aug 2021 22:47:26 +0200 Subject: [PATCH] Add FAQ entry about broken image upload Signed-off-by: David Mehren --- docs/content/faq.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/faq.md b/docs/content/faq.md index 5c0c0aac..8a5b91b9 100644 --- a/docs/content/faq.md +++ b/docs/content/faq.md @@ -45,3 +45,9 @@ If you still want to allow embedding via iframe, ensure that: - `cookiePolicy` / `CMD_COOKIE_POLICY` is set to `none` (Otherwise you will get a `AUTH failed: No cookie transmitted` error.) - `csp.allowFraming` / `CMD_CSP_ALLOW_FRAMING` is set to `true` +## I can't upload images or the upload gets stuck +This problem is typically accompanied by the error `Invalid URL: /uploads/` in the log and is often caused by a missing +`domain` / `CMD_DOMAIN` config option or an incorrect reverse proxy config. +Have a look at our [reverse proxy documentation](https://docs.hedgedoc.org/guides/reverse-proxy/) +and make sure that `protocolUseSSL` / `CMD_PROTOCOL_USESSL` is set to `true` if you serve HedgeDoc via HTTPS. +