mis-configured gzip example (#397)

This commit is contained in:
bdgold 2016-08-09 23:36:23 -04:00 committed by Phan An
parent 1f6d272f39
commit 4981109d2a

View file

@ -6,7 +6,7 @@ server {
gzip on;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;
gzip_com_level 9;
gzip_comp_level 9;
# Whitelist only index.php, robots.txt, and those start with public/ or api/
if ($request_uri !~ ^/$|index\.php|robots\.txt|api/|public/) {