From 7c876ed1599fa54909bdcfb21bbb0f9d3b91193e Mon Sep 17 00:00:00 2001 From: pullopen <66767303+pullopen@users.noreply.github.com> Date: Sat, 21 May 2022 19:09:24 +0800 Subject: [PATCH] modify nginx template to support outside image allow users to insert pics from other sites using markdown --- source/installation/proxy/nginx.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/installation/proxy/nginx.html.md b/source/installation/proxy/nginx.html.md index 867d95c..6486981 100644 --- a/source/installation/proxy/nginx.html.md +++ b/source/installation/proxy/nginx.html.md @@ -44,7 +44,7 @@ server { add_header X-Frame-Options DENY; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; - add_header Content-Security-Policy "default-src 'self' 'unsafe-inline'; frame-ancestors 'self'; frame-src https:"; + add_header Content-Security-Policy "default-src 'self' 'unsafe-inline'; frame-ancestors 'self'; frame-src https:; img-src *"; location / { proxy_pass http://localhost:7878/;