Skip to content

Commit

Permalink
Add nginx gzip conf
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Dec 19, 2024
1 parent 77c9e31 commit db51b48
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vars/nginx_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -50,3 +57,4 @@ galaxy_nginx_vhost_config:
Connection: 'Upgrade'
client_max_body_size: '0'
proxy_pass: http://localhost:{{ tusd_port }}/files;

0 comments on commit db51b48

Please sign in to comment.