I added port 80 in my listener. # HTTPS server server { listen 80; listen 443 ssl; Gzip still works on 443, but css/js are not getting gzipped in port 80. My nginx.conf has gzip on; gzip_vary on; gzip_min_length 500; gzip_buffers 4 32k; gzip_comp_level 6; # gzip_proxied expired no-cache no-store private auth; gzip_proxiedby lfisher - Nginx Mailing List - English