diff --git a/vars/nginx_vars.yml b/vars/nginx_vars.yml index 894688b..558ce72 100644 --- a/vars/nginx_vars.yml +++ b/vars/nginx_vars.yml @@ -6,6 +6,13 @@ galaxy_nginx_vhost_config: auth: "{{ _molecule_active | ternary(omit, 'sram') }}" proxy_set_header: GX_SECRET: "{{ _galaxy_remote_user_secret | default(omit) }}" + gzip: 'on' + gzip_http_version: 1.1 + gzip_vary: 'on' + gzip_comp_level: 6 + gzip_proxied: any + gzip_types: text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript + gzip_buffers: 16 8k - name: api location: /api/ proxy_pass: "http://{{ _galaxy_local_address }}/api/" @@ -50,3 +57,4 @@ galaxy_nginx_vhost_config: Connection: 'Upgrade' client_max_body_size: '0' proxy_pass: http://localhost:{{ tusd_port }}/files; +