add robot txt

This commit is contained in:
stubbfel
2017-11-22 00:32:37 +01:00
parent 27d942cf7e
commit 0d8977a291

View File

@@ -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];