mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 14:33:41 +08:00
修复样式
This commit is contained in:
@@ -50,7 +50,25 @@ server {
|
||||
|
||||
#PROXY-START/
|
||||
|
||||
location ^~ /
|
||||
# 代理到海外,匹配 /api 下名称不是 基础认证 的回调
|
||||
location ~ ^/api/auth/callback/(?!credentials).*$ {
|
||||
proxy_pass http://127.0.0.1:23000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# 代理到海外,匹配 /api 下名称不是 基础认证 的登录
|
||||
location ~ ^/api/auth/signin/(?!credentials).*$ {
|
||||
proxy_pass http://127.0.0.1:23000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location ~ /
|
||||
{
|
||||
proxy_pass http://127.0.0.1:23000;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user