Fixed nextcloud install client connection issue

This commit is contained in:
Random936 2024-08-04 21:39:36 -07:00
parent ddbeea6672
commit 087328d725

View File

@ -31,7 +31,10 @@
datadir = "/mnt/storage/nextcloud"; datadir = "/mnt/storage/nextcloud";
maxUploadSize = "50G"; maxUploadSize = "50G";
settings.overwriteprotocol = "https"; settings = {
overwriteprotocol = "https";
htaccess.rewriteBase = "/";
};
config = { config = {
dbtype = "mysql"; dbtype = "mysql";
@ -42,10 +45,6 @@
# NGINX Reverse Proxy Setup # NGINX Reverse Proxy Setup
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts.${config.services.nextcloud.hostName} = { virtualHosts.${config.services.nextcloud.hostName} = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;