From a33db35b386ebd92759fed154774cf6a6a7b4fa2 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Mon, 7 Dec 2020 16:17:27 -0600 Subject: [PATCH] Fully qualify cloudron CSP (#13892) * Wildcard cloudron Signed-off-by: jolheiser * Just use FQDN Signed-off-by: jolheiser --- docs/content/doc/installation/from-package.en-us.md | 2 +- docs/static/_headers | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/doc/installation/from-package.en-us.md b/docs/content/doc/installation/from-package.en-us.md index 6d06b93602..40cfea473a 100644 --- a/docs/content/doc/installation/from-package.en-us.md +++ b/docs/content/doc/installation/from-package.en-us.md @@ -87,7 +87,7 @@ To enable Gitea to run as a service, run `sysrc gitea_enable=YES` and start it w Gitea is available as a 1-click install on [Cloudron](https://cloudron.io). Cloudron makes it easy to run apps like Gitea on your server and keep them up-to-date and secure. -[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp) +[![Install](https://www.cloudron.io/img/button.svg)](https://www.cloudron.io/button.html?app=io.gitea.cloudronapp) The Gitea package is maintained [here](https://git.cloudron.io/cloudron/gitea-app). diff --git a/docs/static/_headers b/docs/static/_headers index 114d79b3fe..41055546ab 100644 --- a/docs/static/_headers +++ b/docs/static/_headers @@ -1,5 +1,5 @@ /* - Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; img-src 'self' https://cloudron.io; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com + Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; img-src 'self' https://www.cloudron.io; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com X-Frame-Options: DENY X-Xss-Protection: 1; mode=block X-Content-Type-Options: nosniff