This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Description
I use nginx to route /api request to localhost different port to avoid issues with cors. but on logout it returns 400. same on login.
angular 2 app runs on 5001
api on 5000
when I access it directly on port 5001 it works just fine but when I access it on nginx 8080 logout returns 400 bad request.
nginx config ideas I used
https://gist.github.com/soheilhy/8b94347ff8336d971ad0
could you suggest anything?