Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

INSTALL: Fix setting content-type on well-known #8793

Merged
merged 2 commits into from
Nov 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ In nginx this would be something like:
```
location /.well-known/matrix/client {
return 200 '{"m.homeserver": {"base_url": "https://<matrix.example.com>"}}';
add_header Content-Type application/json;
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
```
Expand Down
1 change: 1 addition & 0 deletions changelog.d/8793.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix the example on how to set the `Content-Type` header in nginx for the Client Well-Known URI.