Do not strip Cache-Control headers from media. Trust the Pleroma backend.
authorMark Felder <feld@FreeBSD.org>
Fri, 13 Mar 2020 16:31:55 +0000 (11:31 -0500)
committerMark Felder <feld@FreeBSD.org>
Fri, 13 Mar 2020 16:31:55 +0000 (11:31 -0500)
installation/pleroma.nginx

index 7f48b614b4c006e47bdb2e5c01924308ce463bed..688be3e712a4371fd2e37dbdf45548d3e9ac1d21 100644 (file)
@@ -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;
     }
 }