[hueemulation] Fix nginx example configuration (#9550)
parent
4b73fbf6c7
commit
8e1efa101b
|
@ -158,11 +158,13 @@ You must either
|
||||||
```
|
```
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
proxy_pass http://localhost:8080/;
|
location / {
|
||||||
proxy_set_header Host $http_host;
|
proxy_pass http://localhost:8080/;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
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).
|
* or let openHAB run on port 80 (the entire java process requires elevated privileges).
|
||||||
|
|
Loading…
Reference in New Issue