I have a reverse proxy running to Openhab2, the html comes through fine but the CSS and Graphics don’t. The graphics are showing errors “file not found”.
*************NOTE: /usr/share/nginx/html is located on the Host, not the Server.
2017/04/28 16:06:55 [error] 18505#0: *1145 open() “/usr/share/nginx/html/icon/switch” failed (2: No such file or directory), client: 10.10.231.107, server: 10.10.231.242, request: “GET /icon/switch?state=home&format=svg HTTP/1.1”, host: “10.10.231.241”, referrer: “http://10.10.231.241/openhab/”
I am configured as shown by JCOLLIE earlier in this thread
I am running two RPi, one with Openhab2 (http and Openhabian) and one with NGINX (https and Raspian).
The location “/” with a local root setting runs fine.
any help? thanks