Lowered nextcloud upload size and set its trusted domain
This commit is contained in:
parent
ef52fda705
commit
4b263f7ba0
2 changed files with 8 additions and 6 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue