This is setting NginX web server for Microservice. Technoloy Frontend Angular 2 and Backend Spring Boot
Note : If you get permission denied from NginX when your front try to rest in controller server you can do this in linux $ setsebool -P httpd_can_network_connect 1
You can look documentation for NginX setting in http://nginx.org/en/docs/