NGINX - PCF
Nginx is a web server that can be used as a reverse proxy, load balancer, HTTP Cache etc. In order to deploy apps with NGINX configuration, you need to have an Nginx.conf file in your app so that PCF uses it when deploying.
Uses -
1. To get the PCF Environment variable for respective environments to manage them in Angular apps
2. To set the page refresh order before throwing 404 error
An example nginx.conf file is shown below. You can configure the way you want based on your requirements and need.
Comments
Post a Comment