Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
SocialGouv
archifiltre
archifiltre-site
Commits
d901d61f
Unverified
Commit
d901d61f
authored
Aug 03, 2021
by
Julien Bouquillon
🐫
Committed by
GitHub
Aug 03, 2021
Browse files
fix(ingress): add some security headers
parent
3c6862aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
.socialgouv/config.json
.socialgouv/config.json
+4
-1
No files found.
.socialgouv/config.json
View file @
d901d61f
{
"type"
:
"static"
,
"name"
:
"archifiltre-site"
,
"subdomain"
:
"archifiltre"
"subdomain"
:
"archifiltre"
,
"annotations"
:
{
"nginx.ingress.kubernetes.io/configuration-snippet"
:
"more_set_headers
\"
Content-Security-Policy: default-src 'none'; connect-src 'self' https://*.gouv.fr; font-src 'self'; img-src 'self'; prefetch-src 'self' https://*.gouv.fr; script-src 'self' https://*.gouv.fr; frame-src 'self' https://*.gouv.fr; style-src 'self' 'unsafe-inline'
\"
;
\n
more_set_headers
\"
X-Frame-Options: deny
\"
;
\n
more_set_headers
\"
X-XSS-Protection: 1; mode=block
\"
;
\n
more_set_headers
\"
X-Content-Type-Options: nosniff
\"
;"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment