Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 775 Bytes

readme.md

File metadata and controls

32 lines (20 loc) · 775 Bytes

#Angular portal build status

Screenshot

CORS problems

Jenkins

A solution for CORS enabling:

Install Jenkins-CORS plugin.

Other solution

Proxify behind Apache with CORS enabled

Example for Sonar :

NameVirtualHost *:80
<VirtualHost *:80>
    ProxyPreserveHost On
    
    Header set Access-Control-Allow-Origin "*"
    Header set Access-Control-Allow-Methods' '*'
   
    ProxyPass /sonar http://localhost:9000/sonar
    ProxyPassReverse /sonar http://localhost:9000/sonar

    ServerName localhost
</VirtualHost>