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
无反向代理直接访问http正常
前些日子买了1年泛域名证书,就想着给贵项目加个https 然后我就按照 wiki 配置了反向代理 能访问,但页面css丢失
F12网络选项卡
点击登录时会有无响应的login
请求URL是:我访问的域名+/login 引用站点策略是:strict-origin-when-cross-origin
请求标头
无任何预览
http访问正常无问题
在1panel面板新建一个反向代理网站 最终指向:内网192.168.1.104:10101
根据wiki给的反向代理配置修改配置文件
站点配置:
全局配置:
nginx日志: 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET / HTTP/2.0" 200 1752 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /assets/index-D6iiusuW.js HTTP/2.0" 200 12410 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/ChuanhuChat.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/chat-history.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/fake-gradio.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/external-scripts.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/sliders.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/message-button.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/chat-list.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/localization.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/updater.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/file-input.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/stylesheet/chatbot.css?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/stylesheet/override-gradio.css?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/stylesheet/ChuanhuChat.css?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/stylesheet/custom-components.css?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/user-info.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/stylesheet/markdown.css?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/webui.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /file=web_assets/javascript/utils.js?1731738015.0 HTTP/2.0" 401 30 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /assets/index-Ds_LdHYW.css HTTP/2.0" 200 6235 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /assets/svelte/svelte.js HTTP/2.0" 200 33087 "https://exple/assets/index-D6iiusuW.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /assets/_commonjsHelpers-BosuxZz1.js HTTP/2.0" 200 745 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /assets/Index-B4pUrfBk.css HTTP/2.0" 200 3627 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /assets/Index-DvJ399W-.js HTTP/2.0" 200 46634 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /favicon.ico HTTP/2.0" 200 76550 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:06 +0000] "GET /assets/index-Ds_LdHYW.css HTTP/2.0" 200 6235 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Index-B0JJ6p9c.css HTTP/2.0" 200 424 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Login-CiRbhdJk.js HTTP/2.0" 200 2321 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Index-DDCF2BFd.js HTTP/2.0" 200 791 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Textbox-OSHpBx5r.js HTTP/2.0" 200 4038 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Info-Cs8uP4Sq.js HTTP/2.0" 200 784 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Check-Ck0iADAu.js HTTP/2.0" 200 606 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Index-INgKs-Lw.js HTTP/2.0" 200 1091 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Login-BCwzjozv.css HTTP/2.0" 200 578 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Copy-ZPOKSMtK.js HTTP/2.0" 200 686 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Example-Cj3ii62O.css HTTP/2.0" 200 149 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/BlockTitle-BG3S3JH7.js HTTP/2.0" 200 1127 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Textbox-D8IAzrZj.css HTTP/2.0" 200 554 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 36.248.157.232 - - [05/Feb/2025:06:54:07 +0000] "GET /assets/Index-CptIZeFZ.css HTTP/2.0" 200 497 "https://exple/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" "-" 贵项目没有任何报错
运行贵项目使用的 - OS: Windows 10 22H2 - Browser: Microsoft Edge - Gradio version: 4.29.0 - Python version: 3.9 反向代理使用的 - OS: Debian/GNU Linux 11.7 - 1Panel: v1.10.23-lts - OpenResty(nginx): 1.21.4.3-3-3-focal
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
是否已存在现有反馈与解答?
是否是一个代理配置相关的疑问?
错误描述
无反向代理直接访问http正常
前些日子买了1年泛域名证书,就想着给贵项目加个https
然后我就按照 wiki 配置了反向代理
能访问,但页面css丢失
F12网络选项卡
点击登录时会有无响应的login
请求URL是:我访问的域名+/login
引用站点策略是:strict-origin-when-cross-origin
请求标头
无任何预览
复现操作
http访问正常无问题
在1panel面板新建一个反向代理网站
最终指向:内网192.168.1.104:10101
根据wiki给的反向代理配置修改配置文件
站点配置:
全局配置:
错误日志
运行环境
补充说明
No response
The text was updated successfully, but these errors were encountered: