Calibre open to public, max 500M uploads

This commit is contained in:
Giulio De Pasquale 2022-10-11 21:29:58 +02:00
parent 184e6fafce
commit 17168caa41

View File

@ -15,12 +15,12 @@ in {
}; };
nginx.virtualHosts.${domain} = { nginx.virtualHosts.${domain} = {
forceSSL = true;
enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:8083"; proxyPass = "http://localhost:8083";
extraConfig = '' extraConfig = ''
allow 10.0.0.0/24; client_max_body_size 500M;
allow 10.3.0.0/24;
deny all;
''; '';
}; };
}; };