Merge branch 'nginx-media-redirect-fix' into 'develop'
Adding extra proxy_set_header to fix redirect issue on media. ref #194 See merge request soapbox-pub/rebased!254
This commit is contained in:
commit
e9ad89f0a3
2 changed files with 2 additions and 0 deletions
1
changelog.d/nginx-media-redirect-fix.fix
Normal file
1
changelog.d/nginx-media-redirect-fix.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Fixing 302 redirect issue with media
|
|
@ -86,6 +86,7 @@ server {
|
|||
slice 1m;
|
||||
proxy_cache_key $host$uri$is_args$args$slice_range;
|
||||
proxy_set_header Range $slice_range;
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_valid 200 206 301 304 1h;
|
||||
proxy_cache_lock on;
|
||||
proxy_ignore_client_abort on;
|
||||
|
|
Loading…
Reference in a new issue