node.js - Nginx equivalent configuration in angular2 cli -


i new angular2. have been using nginx angular1. how configure these settings in angular2-cli

proxy_set_header host $host; proxy_set_header x-real-ip $remote_addr; proxy_pass http://localhost:8080/cloudface/; proxy_cookie_path /cloudface/  /; 

there full guide available on official documentation explain need know deploy application on production server. there part dedicated nginx configuration.

i advise take profit of angular-cli handling related bundling, optimizing , aot compilation.


Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -