你是在使用 Serve Discourse from a subfolder (path prefix) instead of a subdomain 中的内容来构建容器和启动器,然后再让 docker-compose 启动它吗?
它是什么代理?也许只需使用启动器启动 discourse,然后使用 docker-args 设置其他需要的东西?对于 traefik,我这样做:
--docker-args "-l traefik.frontend.rule=Host:{{discourse_hostname}};PathPrefix:/{{discourse_subfolder}} \
-l traefik.frontend.entryPoints=https \
-l traefik.backend={{discourse_shortname}} \
-l traefik.port=80 \
{{ docker_extra_args | default('')}}"