diff --git a/services/nextcloud.nix b/services/nextcloud.nix index 3c7f532..2a1308b 100644 --- a/services/nextcloud.nix +++ b/services/nextcloud.nix @@ -4,8 +4,14 @@ services.nginx.virtualHosts."cloud.stubbe.rocks" = { enableACME = true; forceSSL = true; - fastcgi_pass = "http://unix:/run/phpfpm/nextcloud.sock"; root = /etc/per-user-pkgs/nextcloud; + #locations."/".proxyPass = "http://unix:/run/phpfpm/nextcloud.sock"; + # Path to the root of your installation + locations."/robots.txt".extraConfig = '' + allow all; + log_not_found off; + access_log off; + ''; }; users.extraUsers.nextcloud.packages = [pkgs.nextcloud];