wido edited a comment on pull request #4885:
URL: https://github.com/apache/cloudstack/pull/4885#issuecomment-865632294


   > @davidjumani In the previous discussion at 
[apache/cloudstack-primate#898](https://github.com/apache/cloudstack-primate/pull/898)
 there was a discussion about the CORS issue, and I think it will be solved by 
Nginx proxy. I think so.
   
   Indeed. As long as a proxy in between is used to use URLs and not different 
domains for management servers CORS is not an issue, for example:
   
   - /proxy/management-server-1
   - /proxy/management-server-2
   - /proxy/management-server-3
   
   These would be the relative URLs to reach the different management servers.
   
   This means that you do not set *apiHost*, but only set *apiBase* for each 
Management Server.
   
   Otherwise you need to deal with CORS indeed and thus add headers which can 
be done by Nginx/Apache.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to