# Docker子文件夹安装因Ember-CLI代理错误无法工作？

**URL:** <https://meta.discourse.org/t/docker-subfolder-install-not-working-due-to-ember-cli-proxy-error/242217>\
**Category:** Self-hosting\
**Tags:** unsupported-install, docker\
**Created:** [2022年十月18日 15:40 UTC](https://meta.discourse.org/t/docker-subfolder-install-not-working-due-to-ember-cli-proxy-error/242217 "2022-10-18T15:40:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2022年十月18日 15:52 UTC](https://meta.discourse.org/t/docker-subfolder-install-not-working-due-to-ember-cli-proxy-error/242217/4 "2022-10-18T15:52:22Z")

</div>

你是在使用 [Serve Discourse from a subfolder (path prefix) instead of a subdomain](https://meta.discourse.org/t/serve-discourse-from-a-subfolder-path-prefix-instead-of-a-subdomain/30507) 中的内容来构建容器和启动器，然后再让 docker-compose 启动它吗？

它是什么代理？也许只需使用启动器启动 discourse，然后使用 docker-args 设置其他需要的东西？对于 traefik，我这样做：

```plaintext
        --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('')}}"

```

---

_[View the full topic](https://meta.discourse.org/t/docker-subfolder-install-not-working-due-to-ember-cli-proxy-error/242217)._
