From ff12e3b23effef8a320e3210ef958f9e6ab98d9e Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Tue, 1 Jun 2021 21:32:35 +0200 Subject: [PATCH] Add Cloudflare warning to the docs The cloudflare minify feature for HTML, CSS and JS breaks HedgeDoc. Signed-off-by: Tilman Vatteroth --- docs/content/guides/reverse-proxy.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/content/guides/reverse-proxy.md b/docs/content/guides/reverse-proxy.md index b1e7f32f2..9e8b5cfa6 100644 --- a/docs/content/guides/reverse-proxy.md +++ b/docs/content/guides/reverse-proxy.md @@ -5,6 +5,11 @@ configs that you'll have to do. This documentation will cover HTTPS setup, with comments for HTTP setup. +## Cloudflare +!!! warning "Requirements on your server" + If you use Cloudflare as reverse proxy then you **MUST** disable the minify features for HTML, CSS and JS, or your HedgeDoc instance may be broken. + For more information please read the [Cloudflare documentation](https://support.cloudflare.com/hc/en-us/articles/200168196-How-do-I-minify-HTML-CSS-and-JavaScript-to-optimize-my-site-). + ## HedgeDoc config [Full explanation of the configuration options](../configuration.md) @@ -92,4 +97,3 @@ Here is an example config snippet: Include /etc/letsencrypt/options-ssl-apache.conf ``` -