Skip to content

Commit

Permalink
[hueemulation] Fix nginx example configuration (openhab#9550)
Browse files Browse the repository at this point in the history
  • Loading branch information
DieserMerlin authored Jan 3, 2021
1 parent 85147a5 commit 07f4cbb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bundles/org.openhab.io.hueemulation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,13 @@ You must either
```
server {
listen 80;
proxy_pass http://localhost: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;
location / {
proxy_pass http://localhost: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;
}
}
```
* or let openHAB run on port 80 (the entire java process requires elevated privileges).
Expand Down

0 comments on commit 07f4cbb

Please sign in to comment.