fix: small nextcloud fixes #36

Merged
teutat3s merged 6 commits from feat/nextcloud into main 2023-10-29 19:52:16 +00:00
Showing only changes of commit 13d46c22c5 - Show all commits

View file

@ -46,6 +46,11 @@
dbname = "nextcloud"; dbname = "nextcloud";
dbtableprefix = "oc_"; dbtableprefix = "oc_";
overwriteProtocol = "https"; overwriteProtocol = "https";
trustedProxies = [
"127.0.0.1"
"::1"
];
}; };
extraOptions = { extraOptions = {
@ -64,6 +69,13 @@
mail_smtphost = "mx2.greenbaum.cloud"; mail_smtphost = "mx2.greenbaum.cloud";
mail_smtpport = "587"; mail_smtpport = "587";
# This is to allow connections to collabora and keycloak, among other services
# running on the same host
#
# https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html?highlight=allow_local_remote_servers%20true
# https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/293
allow_local_remote_servers = true;
enable_previews = true; enable_previews = true;
enabledPreviewProviders = [ enabledPreviewProviders = [
"OC\\Preview\\PNG" "OC\\Preview\\PNG"