Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大家好 有没有人知道如何更改定义的 foxx 服务的路径。我想要“IP/登录”和“IP/注册”之类的东西。默认情况下,它可以在“_db/...”路径下访问。我发现的唯一方法是使用像 nginx 这样的网络服务器来重写或限制传入的 URL 路径。有更好的解决方案吗?
提前致谢。
我是 ArangoDB Foxx 团队的 Alan。
如果你想公开你的服务,像 nginx 或 Apache 这样的反向代理绝对是最好的选择。请记住,如果您允许用户直接与 ArangoDB 对话,您也可能会暴露 HTTP API 和管理界面——这些可能不是您在公共网络上想要的东西。
目前无法在“根”URL 上安装 Foxx 服务,这不太可能改变。