From 5a3ac8cbd773af67d81bb3ec892a3f6ef0330b84 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 30 Jun 2024 12:37:44 -0700 Subject: [PATCH] Miniflux needs form-action 'self' Signed-off-by: Tommy --- etc/nginx/conf.d/sites_miniflux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/nginx/conf.d/sites_miniflux.conf b/etc/nginx/conf.d/sites_miniflux.conf index 726d171..e7388b1 100644 --- a/etc/nginx/conf.d/sites_miniflux.conf +++ b/etc/nginx/conf.d/sites_miniflux.conf @@ -19,7 +19,7 @@ server { include snippets/proxy.conf; proxy_hide_header Content-Security-Policy; - add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; frame-src *; img-src *; manifest-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; base-uri 'none'; block-all-mixed-content; form-action 'none'; frame-ancestors 'self'; upgrade-insecure-requests"; + add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; frame-src *; img-src *; manifest-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; base-uri 'none'; block-all-mixed-content; form-action 'self'; frame-ancestors 'self'; upgrade-insecure-requests"; location / { proxy_pass http://127.0.0.1:8080;