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

nginx 배포시 오류발생 #11

Open
minwoo1999 opened this issue May 9, 2023 · 0 comments
Open

nginx 배포시 오류발생 #11

minwoo1999 opened this issue May 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@minwoo1999
Copy link
Member

location /api/ {
proxy_pass http://localhost:8000;
proxy_redirect default;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}

header 및 proxy pass 설정해줘야 가능함.

@minwoo1999 minwoo1999 added the bug Something isn't working label May 9, 2023
@minwoo1999 minwoo1999 self-assigned this May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant