WongSaang / chatgpt-ui

A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
https://wongsaang.github.io/chatgpt-ui/
MIT License
1.51k stars 333 forks source link

关于https #69

Closed admin-xpc closed 1 year ago

admin-xpc commented 1 year ago

您好,我实在找不到解决办法才来麻烦您一下; 是这样的,我拉取您的项目并且成功解决了问题后,我又下载了宝塔客户端对域名进行ssl证书配置,配置完毕后发现并不行,我该怎么办:(

WongSaang commented 1 year ago

告诉我你怎么配的

admin-xpc commented 1 year ago

![Uploading image.png…]() 我使用的宝塔客户端,如图配置完毕后,这个域名前面加上https就无法访问

WongSaang commented 1 year ago

图片没显示

admin-xpc commented 1 year ago

image 给您添麻烦了

WongSaang commented 1 year ago

我看你的域名是可以访问,就是证书可能还不正常。 你说的不行是指什么不行?

Mray-FL @.***> 于 2023年3月24日周五 20:37写道:

[image: image] https://user-images.githubusercontent.com/59109756/227523189-575d5f19-45e8-4328-8ddf-d6acbffc9717.png 给您添麻烦了

— Reply to this email directly, view it on GitHub https://github.com/WongSaang/chatgpt-ui/issues/69#issuecomment-1482733424, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAX6FG2LVX6JKH2CYFJGBDW5WISLANCNFSM6AAAAAAWGPTUCQ . You are receiving this because you commented.Message ID: @.***>

admin-xpc commented 1 year ago

那我要怎么装一个正常的证书呢,麻烦您指点一下.....

WongSaang commented 1 year ago

你是用 let's encrypt 吗?可以点开网站设置的 SSL 界面截个图吗?

Mray-FL @.***> 于 2023年3月24日周五 20:42写道:

那我要怎么装一个正常的证书呢,麻烦您指点一下.....

— Reply to this email directly, view it on GitHub https://github.com/WongSaang/chatgpt-ui/issues/69#issuecomment-1482738243, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAX6FCDJCS4VDB6K24QUHTW5WJCBANCNFSM6AAAAAAWGPTUCQ . You are receiving this because you commented.Message ID: @.***>

admin-xpc commented 1 year ago

image 我的let's失败了,我就上传的其他的证书

WongSaang commented 1 year ago

是不是配置了反向代理?先把反向代理,强制HTTPS关掉,再重新申请 let's encrypt

WongSaang commented 1 year ago

是不是配置了反向代理?先把反向代理,强制HTTPS关掉,再重新申请 let's encrypt

如果是这种情况,证书部署成功后再开启反向代理

admin-xpc commented 1 year ago

image 我重新申请了let's encrypt 成功后我开启了反向代理,还是不行。。。https://gpt.xpcyy.com还是打不开

WongSaang commented 1 year ago

不开反向代理能请求到页面吗? 看看你的反向代理配置

Mray-FL @.***> 于 2023年3月24日周五 21:24写道:

[image: image] https://user-images.githubusercontent.com/59109756/227532744-db84ff81-2adc-4521-a2c8-bf3f08397959.png 我重新申请了let's encrypt 成功后我开启了反向代理,还是不行。。。https://gpt.xpcyy.com还是打不开

— Reply to this email directly, view it on GitHub https://github.com/WongSaang/chatgpt-ui/issues/69#issuecomment-1482792308, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAX6FFJIKGBQTQ4VTWLOADW5WN7LANCNFSM6AAAAAAWGPTUCQ . You are receiving this because you commented.Message ID: @.***>

admin-xpc commented 1 year ago

开关与否都无法进入,我用cf打开代理的话,发消息就发不出去,难搞哦:(

WongSaang commented 1 year ago

用 CF 做解析吗?墙内网络你懂的,修改C F的dns要等很久才刷新。

建议先解析个新的子域名,CF 别开proxy。在宝塔申请证书,再试下。

Mray-FL @.***> 于 2023年3月24日周五 21:32写道:

开关与否都无法进入,我用cf打开代理的话,发消息就发不出去,难搞哦:(

— Reply to this email directly, view it on GitHub https://github.com/WongSaang/chatgpt-ui/issues/69#issuecomment-1482804274, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAX6FCHTKVW27JAJR5JS23W5WO6HANCNFSM6AAAAAAWGPTUCQ . You are receiving this because you commented.Message ID: @.***>

ilovefreesw commented 1 year ago

I am using Cloudflare and can't seem to have HTTPS enabled with or without proxied record.

WongSaang commented 1 year ago

I am using Cloudflare and can't seem to have HTTPS enabled with or without proxied record.

image
WongSaang commented 1 year ago

I am using Cloudflare and can't seem to have HTTPS enabled with or without proxied record.

image
ilovefreesw commented 1 year ago

@WongSaang With proxied record it doesn't work. For me it works with Flexible SSL mode and DNS Only A record.