fix(Nextcloud): Trusted proxies is for fpm not web container

This commit is contained in:
Simon 2023-05-23 11:56:12 +02:00
parent 0483e4325e
commit 982c1322bc
1 changed files with 2 additions and 1 deletions

View File

@ -5,9 +5,10 @@ networks:
name: ${TRAEFIK_NETWORK_NAME:-traefik} name: ${TRAEFIK_NETWORK_NAME:-traefik}
services: services:
nextcloud-web: nextcloud-fpm:
environment: environment:
TRUSTED_PROXIES: ${TRAEFIK_NETWORK_NAME:-traefik} TRUSTED_PROXIES: ${TRAEFIK_NETWORK_NAME:-traefik}
nextcloud-web:
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik} - traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}