lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
42.11k stars 9.5k forks source link

[Request]我使用生产的loebchat-database部署方法, 在logto创建next.js一直转圈转不进去,能帮我看一下为什么嘛 #3744

Closed zhangleijun111 closed 4 weeks ago

zhangleijun111 commented 1 month ago

🥰 Feature Description

我的docker-compose ogto: image: registry.us-west-1.aliyuncs.com/jg-images/logto:latest container_name: lobe-logto ports:

我的env NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg NEXT_AUTH_SSO_PROVIDERS=logto NEXTAUTH_URL=https://lobe.jiu-guang.com/api/auth LOGTO_CLIENT_SECRET=YOUR_LOGTO_CLIENT_SECRET LOGTO_ISSUER=https://lobe-auth-api.jiu-guang.com/oidc

我的nginx server { listen 443 ssl; server_name lobe-auth-ui.jiu-guang.com;

ssl_certificate /etc/nginx/ssl/ai.jiu-guang.com.crt; # 替换为您的证书路径
ssl_certificate_key /etc/nginx/ssl/ai.jiu-guang.com.key; # 替换为您的私钥路径

location / {
    proxy_pass http://localhost:3002;
    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;
}

}

🧐 Proposed Solution

报错截图 b1c819c221227a68e209381d316f7e1

📝 Additional Information

No response

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Feature Description

my docker-compose ogto: image: registry.us-west-1.aliyuncs.com/jg-images/logto:latest container_name: lobe-logto ports:

myenv NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg NEXT_AUTH_SSO_PROVIDERS=logto NEXTAUTH_URL=https://lobe.jiu-guang.com/api/auth LOGTO_CLIENT_SECRET=YOUR_LOGTO_CLIENT_SECRET LOGTO_ISSUER=https://lobe-auth-api.jiu-guang.com/oidc

My nginx server { listen 443 ssl; server_name lobe-auth-ui.jiu-guang.com;

ssl_certificate /etc/nginx/ssl/ai.jiu-guang.com.crt; # Replace with your certificate path
ssl_certificate_key /etc/nginx/ssl/ai.jiu-guang.com.key; # Replace with your private key path

location/{
    proxy_pass http://localhost:3002;
    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;
}

}

🧐 Proposed Solution

Error screenshot b1c819c221227a68e209381d316f7e1

📝 Additional Information

No response

lobehubbot commented 1 month ago

👀 @zhangleijun111

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot commented 4 weeks ago

✅ @zhangleijun111

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。