From b0300c0dd42a06c354de2f43db9886ce59620c3e Mon Sep 17 00:00:00 2001
From: "Welter, Felix" <felix.welter@studium.uni-hamburg.de>
Date: Fri, 16 Oct 2020 11:46:33 +0200
Subject: [PATCH] Add example nginx config of bbb server

---
 nginx-config-bbb | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 nginx-config-bbb

diff --git a/nginx-config-bbb b/nginx-config-bbb
new file mode 100644
index 0000000..8818ad1
--- /dev/null
+++ b/nginx-config-bbb
@@ -0,0 +1,25 @@
+location /sr/ {
+     proxy_pass         http://127.0.0.1:8080/;
+     proxy_http_version 1.1;
+     proxy_set_header Upgrade $http_upgrade;
+     proxy_set_header Connection "Upgrade";
+     proxy_set_header Host $host;
+     proxy_buffering off;
+
+  }
+
+  location /msg_broker/ {
+     proxy_pass         http://127.0.0.1:3022/;
+     proxy_http_version 1.1;
+     proxy_set_header Upgrade $http_upgrade;
+     proxy_set_header Connection "Upgrade";
+     proxy_set_header Host $host;
+  }
+
+  location /relevant-terms/ {
+     proxy_pass         http://127.0.0.1:6060/;
+     proxy_http_version 1.1;
+     proxy_set_header Upgrade $http_upgrade;
+     proxy_set_header Connection "Upgrade";
+     proxy_set_header Host $host;
+  }
-- 
GitLab