Add info about already set HTTP headers
Intended to avoid setting duplicate HTTP headers which will cause issues with tools like Mozilla Observatory many people use to evaluate an instance's security.
This commit is contained in:
parent
d960311faa
commit
dae0d21d57
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,15 @@
|
|||
Production guide
|
||||
================
|
||||
|
||||
The following HTTP readers are already set internally and should not be set again:
|
||||
|
||||
```
|
||||
'Server' => 'Mastodon',
|
||||
'X-Frame-Options' => 'DENY',
|
||||
'X-Content-Type-Options' => 'nosniff',
|
||||
'X-XSS-Protection' => '1; mode=block',
|
||||
```
|
||||
|
||||
## Nginx
|
||||
|
||||
Regardless of whether you go with the Docker approach or not, here is an example Nginx server configuration:
|
||||
|
|
Loading…
Reference in a new issue