运行 通过反向代理的 elm 反应器:如何向 _elm 的链接添加 url 前缀?

Running elm reactor through a reverse proxy: How can I add an url prefix to links to _elm?

elm reactor 提供的 html 文件包含指向 _elm/styles.css 和 _elm/elm.js

我现在正尝试通过反向代理 运行 elm reactor 哪些路线 http://myhost/myprefix to http://localhost:8000.

然而,这需要链接指向 myprefix/_elm/*

如何实现?

Elm Reactor 非常有限,仅供您入门。也许像 Elm Live 这样的东西会给你更好的结果。它至少有一些关于您可能想要查看的代理的配置选项。