fix: nextcloud connections to other applications

This commit is contained in:
Benjamin Bädorf 2023-10-29 19:17:53 +01:00 committed by b12f
parent 2c2d77456e
commit 13d46c22c5
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

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"