Could use some assistance trying to set up seafile server

Hello, I have a container running seafile already set up, but it seems to be doing/not doing things I want/don’t want (share links and webdav not working or HTTP downgrades for example).

Some details about my current setup; running a Proxmox LXC with a bind mount to my bulk storage pool, inside that LXC I am running seafiles official .env setup from the documentation. I’ve went ahead and spun up another container with the same bind mount and docker/docker-compose preinstalled

So I figured I would start fresh and move my files over after getting everything working, at the moment I have my tunnel proxy disables and am running it locally. I would like to spin up a new container and get it working with my tunnel proxy. I use pangolin which handles SSL, certs and the domain name, its based around wireguard and traefik. I am looking at a .env template by h44z (was going to link it, but looks like I’m not allowed to post links) to base my settings off of. How would I adjust this to work with and external server running pangolin?

Note below is just the template from his github:

TIME_ZONE=Europe/Vienna
Database settings, remove this section to use a sqlite database.
You can either specify a root password (DB_ROOT_PASSWD), or use your exsting database tables.
To use an external database, simply remove the MySQL service from the docker-compose.yml.
DB_HOST=dbDB_PORT=3306DB_USER=seafileDB_PASSWORD=seafilesecretDB_ROOT_PASSWD=supersecretdbrootpasswordSEAFILE_MYSQL_DB_CCNET_DB_NAME=ccnet_dbSEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile_dbSEAFILE_MYSQL_DB_SEAHUB_DB_NAME=seahub_db
General Seafile Settings
SEAFILE_IMAGE_VERSION=12.0-latestSEAFILE_SERVER_HOSTNAME=seafile.localhostSEAFILE_SERVER_PROTOCOL=httpINIT_SEAFILE_ADMIN_EMAIL=admin@seafile.localINIT_SEAFILE_ADMIN_PASSWORD=asecret
Generate a new secret key with: pwgen -s 40 1
JWT_PRIVATE_KEY=SqRjLcfRAALQMQOzhNtRJVgCc9jfrOo3YWaTfCgz
Optional Seafile Settings
ENABLE_SEADOC=falseSEAFILE_LOG_TO_STDOUT=falseNON_ROOT=falseSITE_ROOT=/
OnlyOffice Settings
ONLYOFFICE_JWT_SECRET=Supers3cr3t
Traefik (Reverse Proxy) Settings
DOMAINNAME=yourdomain.com