Skip to content

Commit

Permalink
Miniflux needs form-action 'self'
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <[email protected]>
  • Loading branch information
TommyTran732 committed Jun 30, 2024
1 parent ab5fb14 commit 5a3ac8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/nginx/conf.d/sites_miniflux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5a3ac8c

Please sign in to comment.