According to this guide h-t-t-p-s://manual.seafile.com/13.0/extension/thumbnail-server/ we should be able to setup a separate thumbnail server but I’m struggling to make it working.
I’m not using the built-in caddy and my seafile docker is directly behind another reverse proxy (Nginx Proxy Manager). As a result of following the above guide all my thumbnails failed to load. If I remove the thumbnail server and rely on seahub to generate thumbnails, it works like a charm.
Any help is greatly appreciated! Thanks 
I use Traefik as my reverse proxy. I have removed all the caddy labels. My compose for the thumbnail server is;
seafile-thumbnail-server:
container_name: seafile-thumbnail-server
image: seafileltd/thumbnail-server:13.0-latest
restart: unless-stopped
depends_on:
seafile-db:
condition: service_healthy
networks:
- traefik-proxy
- seafile
volumes:
- ${VOLUMES}/htpc10/seafile/seafile-data:/shared
environment:
# General
TIME_ZONE: ${TZ}
JWT_PRIVATE_KEY: ${SEAFILE_JWT_PRIVATE_KEY}
SITE_ROOT: /
INNER_SEAHUB_SERVICE_URL: http://seafile
SEAF_SERVER_STORAGE_TYPE: disk
# Database
SEAFILE_MYSQL_DB_HOST: seafile-db
SEAFILE_MYSQL_DB_PORT: 3306
SEAFILE_MYSQL_DB_USER: ${SEAFILE_DB_USER}
SEAFILE_MYSQL_DB_PASSWORD: ${SEAFILE_DB_PASS}
SEAFILE_MYSQL_DB_CCNET_DB_NAME: ccnet_db
SEAFILE_MYSQL_DB_SEAFILE_DB_NAME: seafile_db
labels:
traefik.enable: true
traefik.http.services.seafile-thumbnail.loadbalancer.server.port: 80
## External
traefik.http.routers.seafile-thumbnail.entrypoints: extsecure,websecure
traefik.http.routers.seafile-thumbnail.rule: Host(`seafile.${DOMAINNAME}`) && PathPrefix(`/thumbnail`)
traefik.http.routers.seafile-thumbnail.middlewares: chain-no-auth@file
traefik.http.routers.seafile-thumbnail.service: seafile-thumbnail
I also have the following in seahub_settings.py;
ENABLE_VIDEO_THUMBNAIL = True
Have you forwarded /thumbnail requests to the thumbnail server via http protocol in your NPM config?
1 Like
Thanks for your config! I will try that later. Glad at least someone got it working so I’m more confident 
I think I did, but I’m not really good at NPM advanced config. By any chance you know how to configure this?
Thanks a billion for your help!
There is an example for proxying thumbnail server for Nginx:
1 Like
Thanks for the info, it’s helpful for me!