fix(reverse-proxy): 🐛🚧 temp override Last-Modified header for a full Cloudflare purge for CORS

This commit is contained in:
Collin M. Barrett 2021-01-23 15:26:57 -06:00
parent e18b2902c5
commit 45012af334

View file

@ -6,6 +6,8 @@
# 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' '*';