fix(fileserver): download interruptions
This commit is contained in:
parent
a59b38b2da
commit
7333b7c64e
@ -6,7 +6,7 @@ services:
|
||||
- BASE_URL
|
||||
- EMAIL
|
||||
volumes:
|
||||
- ./nginx.conf:/web/sonarr.conf
|
||||
- ./nginx.conf:/web/fileserver.conf
|
||||
- sites:/sites/
|
||||
- certs:/etc/letsencrypt/
|
||||
- certbotroot:/var/www/certbot/
|
||||
|
@ -2,11 +2,12 @@ server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
root /files;
|
||||
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
|
||||
location / {
|
||||
root /files;
|
||||
}
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
}
|
||||
|
@ -17,6 +17,8 @@ server {
|
||||
ssl_certificate_key /etc/letsencrypt/live/$BASE_URL/privkey.pem;
|
||||
|
||||
location / {
|
||||
grpc_pass http://fileserver;
|
||||
proxy_pass http://fileserver;
|
||||
|
||||
proxy_max_temp_file_size 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user