Lowered nextcloud upload size and set its trusted domain

This commit is contained in:
Chris Toph 2024-09-05 18:40:23 -04:00
parent ef52fda705
commit 4b263f7ba0
2 changed files with 8 additions and 6 deletions

View file

@ -18,7 +18,7 @@
configureRedis = true; configureRedis = true;
# Increase the maximum file upload size to avoid problems uploading videos. # Increase the maximum file upload size to avoid problems uploading videos.
maxUploadSize = "16G"; maxUploadSize = "5G";
https = true; https = true;
autoUpdateApps.enable = true; autoUpdateApps.enable = true;
@ -38,6 +38,8 @@
settings = { settings = {
overwriteProtocol = "https"; overwriteProtocol = "https";
overwritehost = "cloud.ryot.foo";
trusted_domains = [ "cloud.ryot.foo" ];
default_phone_region = "US"; default_phone_region = "US";
}; };

View file

@ -16,11 +16,11 @@
# Setup Nextcloud virtual host to listen on ports # Setup Nextcloud virtual host to listen on ports
virtualHosts = { virtualHosts = {
"cloud.ryot.foo" = { "cloud.ryot.foo" = {
## Force HTTP redirect to HTTPS ## Force HTTP redirect to HTTPS
forceSSL = true; forceSSL = true;
## LetsEncrypt ## LetsEncrypt
enableACME = true; enableACME = true;
}; };
}; };
}; };