Skip to content
New issue

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

[远程部署]: 最新版本通过nginx反向代理时登陆等接口和theme.css 404 #1140

Open
2 tasks done
s478264 opened this issue Jul 9, 2024 · 2 comments
Open
2 tasks done
Labels
question Further information is requested server deployment 在远程服务器上部署的问题

Comments

@s478264
Copy link

s478264 commented Jul 9, 2024

是否已存在现有反馈与解答?

  • 我确认没有已有issue或discussion,且已阅读常见问题

是否是一个代理配置相关的疑问?

  • 我确认这不是一个代理配置相关的疑问。

错误描述

nginx设置反向代理带了端口,访问时发现theme.css的url没端口,其他/login等接口也这样,老版本没问题,这个咋解决

复现操作

参考文档设置了nginx反向代理但是带端口

错误日志

No response

运行环境

  • OS: centos7
  • Server:
  • Gradio version: 4.26.0
  • Python version:

补充说明

No response

@s478264 s478264 added question Further information is requested server deployment 在远程服务器上部署的问题 labels Jul 9, 2024
@z-henry
Copy link

z-henry commented Jul 12, 2024

+1 反代后广域网接口不带端口号,局域网正常

@devotion-i
Copy link

+1 同样问题,带端口号不行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested server deployment 在远程服务器上部署的问题
Projects
None yet
Development

No branches or pull requests

3 participants