summaryrefslogtreecommitdiffstats
path: root/roles/git/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/files/etc')
-rw-r--r--roles/git/files/etc/nginx/sites-available/git2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/git/files/etc/nginx/sites-available/git b/roles/git/files/etc/nginx/sites-available/git
index 3f2bc7f..9e9d16e 100644
--- a/roles/git/files/etc/nginx/sites-available/git
+++ b/roles/git/files/etc/nginx/sites-available/git
@@ -26,7 +26,7 @@ server {
include snippets/headers.conf;
add_header Content-Security-Policy
- "default-src 'none'; img-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self'";
+ "default-src 'none'; img-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self'; frame-ancestors 'none'; form-action 'self'";
include snippets/ssl.conf;
ssl_certificate ssl/git.fripost.org.pem;