我在 haproxy 后面运行 devpi 并且无法登录。devpi 登录用户名返回 404。
GET https://devpi.example.com/+login
404 Not Found: <!doctype html>
<snip>
<div id="content">
<h1>Not Found</h1>
<p>The following resource could not be found:</p>
<p>predicate mismatch for view PyPIView (request_method = POST)</p>
</div>
传递了一个 --debug 标志来启动服务器,但它只是最小的
2018-09-13 17:52:07,157 INFO [req663] GET /+login
2018-09-13 17:52:07,157 DEBUG [req663] [Rtx72] in-transaction 72
2018-09-13 17:52:07,159 DEBUG [req663] [Rtx72] closing transaction at 72
2018-09-13 17:52:07,159 DEBUG [req663] 404 0.003s serial=72 length=5458 type=text/html; charset=UTF-8
我尝试传入--outside-url
没有帮助的值。如果我将端口转发到 localhost 并尝试使用 localhost:,则登录成功。
使用 devpi-server-4.7.1 & devpi-web-3.4.0。
有没有人看到这个并且有解决方案?提前非常感谢。