We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for the nice code. While running the following error occurs, any idea how to fix it? 502 Bad Gateway nginx/1.19.4
The text was updated successfully, but these errors were encountered:
add these lines in your nginx_config file server { listen 8080; server_name localhost; location /api/v1/movies { proxy_pass http://movie_service:8000/api/v1/movies; 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; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; }
location /api/v1/casts { proxy_pass http://cast_service:8000/api/v1/casts; 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; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; }
}
Sorry, something went wrong.
No branches or pull requests
Thanks for the nice code.
While running the following error occurs, any idea how to fix it?
502 Bad Gateway nginx/1.19.4
The text was updated successfully, but these errors were encountered: