forked from pub-solar/infra
fix: nextcloud connections to other applications
This commit is contained in:
parent
2c2d77456e
commit
13d46c22c5
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue