From 306eab2364df61091afd3ae715153fa32967070b Mon Sep 17 00:00:00 2001 From: Stuart Caunt Date: Thu, 7 Dec 2023 16:18:49 +0100 Subject: [PATCH] Add config for visa-print server --- proxy.conf.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/proxy.conf.json b/proxy.conf.json index 6b12fac..1dcf609 100644 --- a/proxy.conf.json +++ b/proxy.conf.json @@ -14,5 +14,15 @@ "pathRewrite": { "^/visafs/\\d+/": "/" } + }, + { + "match": "^/ws/print/(\\d+).*", + "type": "service", + "name": "Visa Printing", + "remotePort": 8091, + "pathRewrite": { + "^/ws/print/\\d+/": "/socket.io/" + }, + "ws": true } ]