nxtrace / nexttracewebapi

MTR风格的NextTrace网页WRAPPER
https://nxtrace.github.io/nexttracewebapi/
GNU General Public License v3.0
72 stars 5 forks source link

traefik 做反代的情况下,不能正确访问 #6

Open 80imike opened 6 months ago

80imike commented 6 months ago

使用官方镜像 tsosc/nexttraceweb 跑在 docker 里 前面用 traefik 做反代,不能正确访问。

image

好像是 traefik websocket 的问题?

tsosunchia commented 6 months ago

推荐使用Nginx,顺便一提您也可以选择直接容器内部的Nginx配置文件达成您的目的。

2023年12月25日 10:25,80imike @.***> 写道:

使用官方镜像 tsosc/nexttraceweb 跑在 docker 里 前面用 traefik 做反代,不能正确访问。

image.png (view on web) https://github.com/nxtrace/nexttracewebapi/assets/1665201/c03f1270-508d-4a46-a866-1df87db2af1a 好像是 traefik websocket 的问题?

— Reply to this email directly, view it on GitHub https://github.com/nxtrace/nexttracewebapi/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGBNB7NIAGFMCFNWJB3VATYLDPYBAVCNFSM6AAAAABBB6DU2CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TKMZQGQZDAMI. You are receiving this because you are subscribed to this thread.

80imike commented 6 months ago

推荐使用Nginx,顺便一提您也可以选择直接容器内部的Nginx配置文件达成您的目的。 2023年12月25日 10:25,80imike @.***> 写道: 使用官方镜像 tsosc/nexttraceweb 跑在 docker 里 前面用 traefik 做反代,不能正确访问。 image.png (view on web) https://github.com/nxtrace/nexttracewebapi/assets/1665201/c03f1270-508d-4a46-a866-1df87db2af1a 好像是 traefik websocket 的问题? — Reply to this email directly, view it on GitHub <#6>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGBNB7NIAGFMCFNWJB3VATYLDPYBAVCNFSM6AAAAABBB6DU2CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TKMZQGQZDAMI. You are receiving this because you are subscribed to this thread.

traefik websocket 目前是不支持吗?

tsosunchia commented 6 months ago

我没用过traefik,按理说支持ws反代的应该都可以,你可以探索一下

2023年12月25日 11:12,80imike @.***> 写道:

traefik