Ahiel
(Ahiel)
1
Hello, I’m using openhab (3.2) docker.
I have nginx in front of it.
After upgrading chrome I can’t access openhab anymore.
I’m getting this error:
ERR_FAILED
Referrer Policy: strict-origin-when-cross-origin
What should I do to access openhab again? All other services are working when accessing them from nginx, only openhab stopped to work.
Thanks.
What are the chrome versions before and after your update ?
What is your nginx configuration ?
Ahiel
(Ahiel)
3
Hello,
The new version of my chrome is 99 (mac).
and the Nginx config file is:
server {
server_name myOpenhab.dns.com;
listen 443 ssl http2;
listen [::]:443 ssl http2;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
server_tokens off;
#ssl on;
ssl_buffer_size 8k;
ssl_dhparam /ssl/dhparam-2048.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5;
ssl_ecdh_curve secp384r1;
ssl_session_tickets off;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 1d;
keepalive_timeout 70;
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.8 8.8.4.4;
ssl_certificate /ssl/fullchain.pem;
ssl_certificate_key /ssl/privkey.pem;
root /usr/share/nginx/html;
index index.html;
location / {
proxy_pass http://10.1.1.10:8080/;
proxy_set_header Host $http_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 Authorization ""; # stop nginx forwarding the basic auth header for nginx .htpasswd to grafana
}
}
Ahiel
(Ahiel)
4
I’ve created a new chrome profile and now it is working
I have no idea why and what happens.