mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Merge pull request #29 from jemus42/patch-1
Add info about already set HTTP headers
This commit is contained in:
commit
bdf7d53c9a
@ -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…
x
Reference in New Issue
Block a user