- Platform information:
- Hardware: Raspberry Pi 3
- OS: Newest OSMC Version
- Java Runtime Environment: 1.8.0_151
- openHAB version: 2.1.0-1
- Issue of the topic: OpenHAB does not Display Images in Sitemap when openhab is behind a Nginx reverse proxy.
- Please post configurations (if applicable):
Sitemap
Text label="Taunus" {
Image url="https://taunus.info/img/webcams/lg/grosser-feldberg.jpg" label="Großer Feldberg"
Image url="https://taunus.info/img/webcams/lg/schmitten-oberreifenberg.jpg" label="Oberreifenberg"
Image url="http://www.skilift-pechberg.de/dyn/webcam.jpg" label="Pechberg"
}
Nginx Config
location / {
proxy_pass http://192.168.112.3:8091;
proxy_buffering off;
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_redirect http:// https://;
auth_basic "Username and Password Required";
auth_basic_user_file /home/gnilebein.de/domains/openhab.gnilebein.de/.htaccess;
}
HTTP Response for the Image
HTTP/1.1 400 Bad Request