redmine: enable gzip compression in nginx vhost

nagios-sudoers
Victor LABORIE 4 years ago
parent 0dd7b26ade
commit e40aefb4e0

@ -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

@ -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;

Loading…
Cancel
Save