diff --git a/src/nginxconfig.ejs b/src/nginxconfig.ejs index eed815c71..9ffef5bf9 100644 --- a/src/nginxconfig.ejs +++ b/src/nginxconfig.ejs @@ -131,11 +131,8 @@ server { gzip_min_length 18k; gzip_types text/css text/javascript text/xml text/plain application/javascript application/x-javascript application/json; - # compression chunking logic will interfere with SSE packet flushing - gzip_disable "text/event-stream"; - - # what responses are proxied - gzip_proxied no-cache no-store private expired auth; + # enable for proxied requests as well + gzip_proxied any; <% if ( endpoint === 'dashboard' || endpoint === 'ip' || endpoint === 'setup' ) { -%> # CSP headers for the dashboard resources