Skip to content

Commit

Permalink
Fix nginx reverse proxy vars for tusd
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Jan 6, 2025
1 parent 52f642a commit efc3a67
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vars/nginx_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ galaxy_nginx_vhost_config:
location: /_x_accel_redirect/
internal: ''
alias: '/'
add_header: 'Access-Control-Allow-Origin $upstream_http_access_control_allow_origin'
add_header: 'Access-Control-Allow-Methods $upstream_http_access_control_allow_methods'
add_headers:
Access-Control-Allow-Origin: $upstream_http_access_control_allow_origin
Access-Control-Allow-Methods: $upstream_http_access_control_allow_methods
- name: tus
location: '/api/upload/resumable_upload'
proxy_request_buffering: 'off'
proxy_buffering: 'off'
proxy_http_version: '1.1'
set_headers:
proxy_set_header:
X-Forwarded-Host: '$host'
X-Forwarded-Proto: '$scheme'
Upgrade: '$http_upgrade'
Expand Down

0 comments on commit efc3a67

Please sign in to comment.