add robot txt
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user