Merge pull request #32 from erseco/patch-2

Enable gzip compression on nginx
migrate-github-actions 1.7.0
Tim de Pater 2020-04-26 08:19:06 +02:00 committed by GitHub
commit 918f3905dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -82,7 +82,13 @@ http {
fastcgi_pass 127.0.0.1:9000;
}
}
gzip on;
gzip_proxied any;
gzip_types text/plain application/xml text/css text/js text/xml application/x-javascript text/javascript application/json application/xml+rss;
gzip_vary on;
gzip_disable "msie6";
# Include other server configs
include /etc/nginx/conf.d/*.conf;
}