From e04e16bbc05b035c11b83d5134436d791c512421 Mon Sep 17 00:00:00 2001
From: Mark Felder <feld@FreeBSD.org>
Date: Fri, 13 Mar 2020 11:31:55 -0500
Subject: [PATCH] Do not strip Cache-Control headers from media. Trust the
 Pleroma backend.

---
 installation/pleroma.nginx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx
index 7f48b614b..688be3e71 100644
--- a/installation/pleroma.nginx
+++ b/installation/pleroma.nginx
@@ -90,8 +90,6 @@ server {
         proxy_ignore_client_abort on;
         proxy_buffering    on;
         chunked_transfer_encoding on;
-        proxy_ignore_headers Cache-Control;
-        proxy_hide_header  Cache-Control;
         proxy_pass         http://127.0.0.1:4000;
     }
 }