Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit 2b5f352

Browse files
authored
OS2DISP-173: Added nginx config to support screen-bundle (#5)
1 parent 7fd3ed8 commit 2b5f352

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# os2display/vagrant Changelog
22

3+
## 7.1.0
4+
5+
* Added nginx config for screen-bundle.
6+
37
## 7.0.0
48

59
* Symfony 3.4 upgrade.

templates/nginx-admin.j2

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,17 @@ server {
9090
proxy_redirect off;
9191
}
9292

93+
location /middleware/ {
94+
proxy_set_header X-Real-IP $remote_addr;
95+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
96+
proxy_set_header Host $http_host;
97+
98+
proxy_buffering off;
99+
100+
proxy_pass http://nodejs_middleware/;
101+
proxy_redirect off;
102+
}
103+
93104
location /socket.io/ {
94105
proxy_http_version 1.1;
95106
proxy_set_header Upgrade $http_upgrade;

0 commit comments

Comments
 (0)