Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
9787a5a9
Commit
9787a5a9
authored
Jan 25, 2021
by
Jelle van der Waa
🚧
Browse files
Merge branch 'wiki_security_headers' into 'master'
Configure mediawiki's security headers See merge request
!278
parents
a35a5302
3f6a9f01
Pipeline
#4815
passed with stage
in 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/archwiki/templates/LocalSettings.php.j2
View file @
9787a5a9
...
...
@@ -57,3 +57,7 @@ $wgMainCacheType = CACHE_MEMCACHED;
$wgParserCacheType
=
CACHE_MEMCACHED
;
$wgMessageCacheType
=
CACHE_MEMCACHED
;
$wgMemCachedServers
=
[
"unix://{{ archwiki_memcached_socket }}:0"
];
# security headers
$wgReferrerPolicy
=
[
"no-referrer-when-downgrade"
];
$wgEditPageFrameOptions
=
"DENY"
;
Write
Preview
Supports
Markdown
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