mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-21 13:53:53 -07:00
Add proxy improvements
Enable gzip for faster client browsing, disable buffering to prevent issues with android-playback.
This commit is contained in:
parent
7a4d827349
commit
8778e4a8cb
1 changed files with 23 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/02/05
|
||||
## Version 2023/05/27
|
||||
# make sure that your emby container is named emby
|
||||
# make sure that your dns has a cname set for emby
|
||||
# if emby is running in bridge mode and the container is named "emby", the below config should work as is
|
||||
|
@ -27,5 +27,27 @@ server {
|
|||
|
||||
proxy_set_header Range $http_range;
|
||||
proxy_set_header If-Range $http_if_range;
|
||||
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
gzip_comp_level 6;
|
||||
gzip_min_length 1100;
|
||||
gzip_buffers 16 8k;
|
||||
gzip_proxied any;
|
||||
gzip_types
|
||||
text/plain
|
||||
text/css
|
||||
text/js
|
||||
text/xml
|
||||
text/javascript
|
||||
application/javascript
|
||||
application/x-javascript
|
||||
application/json
|
||||
application/xml
|
||||
application/rss+xml
|
||||
image/svg+xml;
|
||||
|
||||
proxy_buffering off;
|
||||
tcp_nodelay on;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue