diff --git a/INSTALL.md b/INSTALL.md
index c6fcb3bd7f2a87cc2989b7ab3efc2db05b8e7517..eaeb6900929fa4c97d64fe6d3451219d5dc7d29d 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -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 *;
 }
 ```
diff --git a/changelog.d/8793.doc b/changelog.d/8793.doc
new file mode 100644
index 0000000000000000000000000000000000000000..f6eee1ea735caea61f9ead821f7342cb70844a50
--- /dev/null
+++ b/changelog.d/8793.doc
@@ -0,0 +1 @@
+Fix the example on how to set the `Content-Type` header in nginx for the Client Well-Known URI.