I have recently moved access to our Unimus server to be via an Nginx Reverse Proxy.
It works in Firefox, but not in Chrome.
In Chrome I just see the loading animation.
In the console there is this error message:
Code: Select all
VM28:1 Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' http: https: data: blob: 'unsafe-inline'".
Code: Select all
location /configs/ {
allow <ALLOWEDIPS>;
allow <ALLOWEDIPS>;
deny all;
proxy_pass http://<IP_OF_UNIMUS>:8085/;
include nginxconfig.io/proxy.conf;
}
Code: Select all
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
Thanks