We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It looks like the current embedded servlet containers have no way to serve static resources in dubbo, we should support it.
The text was updated successfully, but these errors were encountered:
使用单独的 Web 服务器:与 Dubbo 一起部署单独的 Web 服务器(例如 Apache HTTP Server、Nginx)来处理静态资源服务。 可以配置 Web 服务器来处理静态文件请求,同时将其他请求转发到运行 Dubbo 服务的嵌入式 Servlet 容器。
利用嵌入式 servlet 容器的功能:虽然 Dubbo 本身不直接支持提供静态资源,但可以利用嵌入式 servlet 容器提供的功能。 例如,可以通过指定适当的配置(例如 web.xml、servlet 映射、资源位置)来配置 servlet 容器(例如 Tomcat)来提供静态文件。 但是,请记住,这可能会给应用程序带来额外的复杂性和依赖性。
使用反向代理:在 Dubbo 服务前面设置一个反向代理服务器(例如 Nginx、Apache HTTP Server)。 反向代理可以处理静态资源服务,也可以根据特定的规则或 URL 将请求转发到适当的 Dubbo 服务。
Sorry, something went wrong.
@ljluestc 你这个需求后来怎么处理了?
No branches or pull requests
It looks like the current embedded servlet containers have no way to serve static resources in dubbo, we should support it.
The text was updated successfully, but these errors were encountered: