修复样式

This commit is contained in:
sijinhui
2024-10-03 01:48:51 +08:00
parent 0922a7fe76
commit b61a4550c3
5 changed files with 40 additions and 6 deletions

View File

@@ -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;