I am doing spring Boot rest API To angular connection with localhost works but how to use in Amazon EC2 , which replace in @CrossOrigin
@CrossOrigin(origins=&