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