++ fix trusted domains

This commit is contained in:
2026-03-09 12:24:25 +01:00
parent a4275868b1
commit f594827c16
2 changed files with 6 additions and 6 deletions

10
.env
View File

@@ -5,14 +5,14 @@ MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud MYSQL_USER=nextcloud
# Nextcloud Configuration # Nextcloud Configuration
NEXTCLOUD_PORT=8080 NEXTCLOUD_PORT=8282
NEXTCLOUD_ADMIN_USER=admin NEXTCLOUD_ADMIN_USER=admin
NEXTCLOUD_ADMIN_PASSWORD=admin_password_here NEXTCLOUD_ADMIN_PASSWORD=admin_password_here
NEXTCLOUD_TRUSTED_DOMAINS=localhost NEXTCLOUD_TRUSTED_DOMAINS=localhost 127.0.0.1
# Protocol and Host (per reverse proxy) # Protocol and Host (per reverse proxy)
OVERWRITEPROTOCOL=https OVERWRITEPROTOCOL=http
OVERWRITEHOST=your-domain.com OVERWRITEHOST=localhost:8282
# Collabora Configuration # Collabora Configuration
COLLABORA_PORT=9980 COLLABORA_PORT=9980
@@ -26,3 +26,5 @@ COLLABORA_DICTIONARIES=it en_US en_GB de_DE fr_FR es_ES
# - Dopo l'installazione, configura Collabora in Nextcloud andando in: # - Dopo l'installazione, configura Collabora in Nextcloud andando in:
# Impostazioni -> Amministrazione -> Collabora Online # Impostazioni -> Amministrazione -> Collabora Online
# URL: http://collabora:9980 # URL: http://collabora:9980
# - Se usi un dominio/reverse proxy HTTPS, imposta OVERWRITEPROTOCOL=https
# e OVERWRITEHOST=<tuo-dominio>

View File

@@ -1,5 +1,3 @@
version: '3.8'
services: services:
db: db:
image: mariadb:10.11 image: mariadb:10.11