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
Post a Comment