Skip to content

Commit

Permalink
OS2DISP-173: Added nginx config to support screen-bundle (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuj authored May 20, 2019
1 parent 7fd3ed8 commit 2b5f352
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# os2display/vagrant Changelog

## 7.1.0

* Added nginx config for screen-bundle.

## 7.0.0

* Symfony 3.4 upgrade.
Expand Down
11 changes: 11 additions & 0 deletions templates/nginx-admin.j2
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,17 @@ server {
proxy_redirect off;
}

location /middleware/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;

proxy_buffering off;

proxy_pass http://nodejs_middleware/;
proxy_redirect off;
}

location /socket.io/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
Expand Down

0 comments on commit 2b5f352

Please sign in to comment.