Creating a proxy for your frontend application using NGINX
You have frontend application using a web service to get resources and is running on a gulp/grunt server.
- You will come across CORS errors
- You will have no userfriendly URLS (you will have something like localhost:9090).
How to get rid of these problems?
Easy, just use a NGINX proxy. Here is how