Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
totem
website
Commits
20de084d
Unverified
Commit
20de084d
authored
Jan 15, 2021
by
Maarten de Waard
🤘🏻
Browse files
move x-content-type header to .htaccess
parent
0d90c7c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
.htaccess
View file @
20de084d
Header
set
Strict-Transport-Security "max-age=63072000"
Header
set
X-Frame-Options "SAMEORIGIN"
Header
set
X-Content-Type-Options "nosniff"
source/layouts/layout.erb
View file @
20de084d
...
...
@@ -4,7 +4,6 @@
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"x-ua-compatible"
content=
"ie=edge"
>
<meta
http-equiv=
"x-ua-compatible"
content=
"ie=edge"
>
<meta
http-equiv=
"X-Content-Type-Options"
content=
"nosniff"
>
<meta
http-equiv=
"X-XSS-Protection"
content=
"1; mode=block"
>
<meta
http-equiv=
"Content-Security-Policy"
content=
"default-src 'self'; font-src 'self' fonts.gstatic.com; style-src 'self' fonts.googleapis.com; img-src 'self' learn.totem-project.org;"
>
<meta
name=
"viewport"
...
...
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