[hueemulation] Fix nginx example configuration (#9550)

This commit is contained in:
Merlin Westphal
2021-01-03 01:06:56 +01:00
committed by GitHub
parent 4b73fbf6c7
commit 8e1efa101b

View File

@@ -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).