ruimarinho / docker-openvpn-monitor

The trusted multi-platform web-based OpenVPN Monitor docker image.
MIT License
101 stars 27 forks source link

CORS Issue when using the latest image #24

Closed fotisp closed 3 years ago

fotisp commented 3 years ago

Hello,

I just pulled the latest version of the docker images, and styling seems to be broken due to the fact that static assets are failing due to CORS.

Screenshot 2021-04-30 at 3 34 52 PM

I am proxying this over Apache, but it shouldn't cause a problem.

[Edit] - This seems to be happening only on Safari Version 14.0.3 (16610.4.3.1.7)

ruimarinho commented 3 years ago

Your originmonitoring.existanze.lan seems to be disallowing those requests. Seems to be an issue with your virtual host configuration within Apache. Might be useful to post the response headers you're seeing.

fotisp commented 3 years ago

Hello @ruimarinho this is only on Safari, on Chrome it works fine. So it is not a headers issue on the proxy.

ruimarinho commented 3 years ago

Could be related to HTTP vs HTTPS.