From 363249ee46fa68993712d89f061230d95c52d1c6 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 23 Jan 2021 15:48:30 -0600 Subject: [PATCH] =?UTF-8?q?Revert=20"fix(reverse-proxy):=20=F0=9F=90=9B?= =?UTF-8?q?=F0=9F=9A=A7=20temp=20override=20Last-Modified=20header=20for?= =?UTF-8?q?=20a=20full=20Cloudflare=20purge=20for=20CORS"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e18b2902c5daae2538963dc82fca5a58209f9ae6. --- reverse-proxy/loc-includes/cors.conf | 7 ------- 1 file changed, 7 deletions(-) diff --git a/reverse-proxy/loc-includes/cors.conf b/reverse-proxy/loc-includes/cors.conf index 0e288e376..84f1c78c8 100644 --- a/reverse-proxy/loc-includes/cors.conf +++ b/reverse-proxy/loc-includes/cors.conf @@ -2,13 +2,6 @@ # # Wide-open CORS config for nginx # - -# TEMP: override Last-Modified for Cloudflare -# https://support.cloudflare.com/hc/en-us/articles/200308847-Using-cross-origin-resource-sharing-CORS-with-Cloudflare -add_header Last-Modified $date_gmt; -if_modified_since off; -etag off; - if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';