Go to file
slopjong a02aee8dc4 added people counter, door status, status lamp, soldering table
projection screen as rollershutter
IR piloting of amplifier and BD player
2019-06-04 21:21:18 +02:00
.idea added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00
.vscode Initial setup 2019-04-07 15:14:49 +02:00
html Initial setup 2019-04-07 15:14:49 +02:00
icons/classic Initial setup 2019-04-07 15:14:49 +02:00
items added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00
persistence added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00
rules added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00
scripts Initial setup 2019-04-07 15:14:49 +02:00
services added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00
sitemaps added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00
sounds Initial setup 2019-04-07 15:14:49 +02:00
things added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00
transform added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00
README.txt added people counter, door status, status lamp, soldering table 2019-06-04 21:21:18 +02:00

README.txt

Installing proxy for paperUI
sudo bash
apt-get update
apt-get install nginx

rm /etc/nginx/sites-enabled/default
cat >/etc/nginx/sites-available/openhab <<"EOF"
server {
    listen          80;
    server_name     lights.level2.lu;

    location / {
        proxy_pass                            http://localhost:8080/basicui/;
        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;
    }
}
EOF
ln -s /etc/nginx/sites-available/openhab /etc/nginx/sites-enabled/
service nginx restart