From 9d83b9b4bc97d9effaaa88247119d6fd0d8fcb6b Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 22 Jul 2024 15:42:07 +0100 Subject: [PATCH] Merge pull request #19540 from overleaf:bg-fix-nginx-clsi-config-in-dev-env synchonise clsi nginx.conf in dev env with production nginx proxy.conf GitOrigin-RevId: 986c32d7d7d7dbd5245555c3db9b779298465762 --- services/clsi/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/clsi/nginx.conf b/services/clsi/nginx.conf index 6205bd5294..2290aeb444 100644 --- a/services/clsi/nginx.conf +++ b/services/clsi/nginx.conf @@ -86,9 +86,8 @@ server { location ~ ^/project/([0-9a-f]+)/user/([0-9a-f]+)/content/([0-9a-f-]+/[0-9a-f]+)$ { if ($request_method = 'OPTIONS') { # handle OPTIONS method for CORS requests - add_header 'Content-Type' 'text/plain charset=UTF-8'; add_header 'Allow' 'GET,HEAD'; - return 200 'GET,HEAD'; + return 204; } # Cache for one day expires 1d;