From 9df5adb69c4aae93e2a61a69e1e81d84429f8496 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Sun, 17 Oct 2021 22:14:51 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Added=20an=20entry=20for=20a=20s?= =?UTF-8?q?ocket=20passthrough?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/proxy.conf b/proxy.conf index de4af9e..5ffd756 100644 --- a/proxy.conf +++ b/proxy.conf @@ -4,6 +4,12 @@ server { proxy_pass http://localhost:8050; } } +server { + listen 8051; + location / { + proxy_pass ws://localhost:8051; + } +} server { listen 3080; @@ -16,7 +22,7 @@ server { server { listen 3000; - location /import-service { + location /import { proxy_pass http://localhost:3000; } } \ No newline at end of file