Comment on I dockerized my Nextcloud
chiisana@lemmy.chiisana.net 7 months ago
NextCloud’s trusted_proxies
setting supports CIDR notation, so it mught be better to set the subnet of Traefik’s network as opposed to the IP address. That way, if you ever need to do anything with the container (I.e. upgrade traefik), the IP can change but the subnet is less likely to change.
flor0@sh.itjust.works 7 months ago
True. That’s a good improvement. Thanks a lot! By the way do you know if the nextcloud
trusted_proxies
setting allows for hostnames such as “traefik” as compared to just IP addresses?chiisana@lemmy.chiisana.net 7 months ago
The documentation seems to suggest just IP address and CIDR notation.
flor0@sh.itjust.works 7 months ago
Alright, thanks a lot! You probably saved me a lot of headache in the future
chiisana@lemmy.chiisana.net 7 months ago
No problem! It’s a small change that might not affect most people :)