Angular 6 proxy production build issue

101 views
Skip to first unread message

karthi bose

unread,
Aug 21, 2018, 10:49:32 AM8/21/18
to Angular and AngularJS discussion
It's working in development environment fine, but not working production environment showing error, what can I do???? my production environment and API environment is different.

Sander Elias

unread,
Aug 21, 2018, 1:56:57 PM8/21/18
to Angular and AngularJS discussion
Hi Karthi,

The proxy server inside the CLI is a development tool, and not suited for production. In a production environment, you use a production server like nginx or apache, and you configure those to take care of the proxy you need.

Regards
Sander

karthi bose

unread,
Aug 22, 2018, 12:52:22 AM8/22/18
to ang...@googlegroups.com
Hi Sander,
  Thank you for a reply sander. Your reply very useful to me and my team also once again thank you.


Regards,
karthi bose

--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages