1
0
Files
synapse/changelog.d
Daniele Sluijters 8ca120df7c INSTALL: Fix setting content-type on well-known (#8793)
When using `add_header` nginx will literally add a header. If a
`content-type` header is already configured (for example through a
server wide default), this means we end up with 2 content-type headers,
like so:

```
content-type: text/html
content-type: application/json
access-control-allow-origin: *
```

That doesn't make sense. Instead, we want the content type of that
block to only be `application/json` which we can achieve using
`default_type` instead.

Signed-off-by: Daniele Sluijters <daenney@users.noreply.github.com>
2020-11-23 13:01:18 +00:00
..
2020-11-15 23:09:03 +00:00
2020-11-16 18:24:08 +00:00
2020-11-17 09:46:23 -05:00
2020-11-17 14:13:56 +00:00
2020-11-18 15:43:11 +00:00