From 17168caa4107667a65e8286cef817b09390d353d Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 11 Oct 2022 21:29:58 +0200 Subject: [PATCH] Calibre open to public, max 500M uploads --- hosts/architect/calibre.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/architect/calibre.nix b/hosts/architect/calibre.nix index cfd8944..c10603b 100644 --- a/hosts/architect/calibre.nix +++ b/hosts/architect/calibre.nix @@ -15,12 +15,12 @@ in { }; nginx.virtualHosts.${domain} = { + forceSSL = true; + enableACME = true; locations."/" = { proxyPass = "http://localhost:8083"; extraConfig = '' - allow 10.0.0.0/24; - allow 10.3.0.0/24; - deny all; + client_max_body_size 500M; ''; }; };