redmine: enable gzip compression in nginx vhost

This commit is contained in:
Victor LABORIE 2019-05-13 12:06:22 +02:00
parent 0dd7b26ade
commit e40aefb4e0
2 changed files with 9 additions and 0 deletions

View File

@ -13,6 +13,7 @@ The **patch** part changes incrementally at each release.
### Added
* apache: add server status suffix in VHost (and default site) if missing
* nginx: add server status suffix in VHost (and default site) if missing
* redmine: enable gzip compression in nginx vhost
### Changed
* evocheck : version 19.04 from upstream

View File

@ -22,6 +22,14 @@ server {
include /etc/nginx/snippets/letsencrypt[.]conf;
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/x-javascript application/javascript text/xml application/xml application/xml+rss text/javascript;
location / {
if (!-f /home/{{ redmine_user }}/run/puma.pid) {
return 503;