From f278c015b59d1cb56bfc673295eee25df80511d2 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 28 Mar 2026 23:08:38 +0100 Subject: [PATCH] Fix duplicate Content-Type on client-metadata.json Nginx sets application/json automatically for .json files via MIME types; the explicit header caused a duplicate that broke ATProto OAuth client metadata fetching. Co-Authored-By: Claude Sonnet 4.6 --- nginx.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 2c3b4d5..2376f48 100644 --- a/nginx.conf +++ b/nginx.conf @@ -6,7 +6,6 @@ server { # Serve client-metadata.json with correct Content-Type location = /client-metadata.json { - add_header Content-Type application/json; add_header Access-Control-Allow-Origin *; }