Wondering if anyone is using similar setup.
I am trying to install Nextcloud on my Synology NAS using Portainer and Docker Compose
I have a pfsense router/firewall that I use haproxy
I have pointed nextcloud.mydomain.com to port xx443 in haproxy
I have tried using the following docker compose:
services:
nextcloud:
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud
environment:
- PUID=1038
- PGID=100
- TZ=America/NewYork
volumes:
- /volume2/docker_ssd/nextcloud/config:/config
- /volume1/data/nextcloud:/data
ports:
- xx443:xx443
restart: unless-stopped
I cannot reach the server -
When going to https://nextcloud.mydomain.com I get the following:
— 400 Bad Request
The plain HTTP request was sent to HTTPS port
nginx
But I can’t reach the nextcloud server locally either using 192.168.1.xx:xx443
Any help or thoughts on how I should configure would be helpful. I was trying to handle this at the haproxy level because I may be moving away form Synology soon