Open andreysubbotin opened 4 years ago
Hello Andrey, It is because of modern browser'routine operation to prevent CSRF attack . You could use nginx to solve the cross-origin problem.Such as below: listen 80; server_name localhost; location /yourapp/ { proxy_pass https://127.0.0.1:18080/yourapp/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; } location /pentaho/ { proxy_pass http://127.0.0.1:8080/pentaho/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; }
Test case: