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:
Alex Gleason 2023-06-20 02:50:34 +00:00
commit e9ad89f0a3
2 changed files with 2 additions and 0 deletions

View file

@ -0,0 +1 @@
Fixing 302 redirect issue with media

View file

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