Skip to content
New issue

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

resolve problem about basic auth when the app is behind a proxy server #1235

Merged
merged 1 commit into from May 4, 2023
Merged

Conversation

ghost
Copy link

@ghost ghost commented May 4, 2023

When we use the app behind a nginx reverse proxy with basic authorization. The getHeader function will reset the "Authorization" field and lead to a 401 error.

This patch resolve the problem.

@Yidadaa Yidadaa merged commit 093df39 into ChatGPTNextWeb:main May 4, 2023
Endlessworld pushed a commit to Endlessworld/ChatGPT-Next-Web that referenced this pull request May 17, 2023
resolve problem about basic auth when the app is behind a proxy server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant