File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ This is a tiny reverse proxy made completely in Java and based on Undertow. It w
55
66``` java
77// Create tiny reverse proxy
8+ int port = 20726 ;
9+ String host = " localhost" ;
810TinyReverseProxy reverseProxy = new TinyReverseProxy (host, port);
911
1012// Add paths - SEPIA defaults for custom-bundle:
@@ -16,4 +18,6 @@ reverseProxy.addPrefixPath("/sepia/chat", "http://localhost:20723");
1618reverseProxy. start();
1719```
1820
19- Be sure to check-out the source to tweak the number of possible threads for more performance.
21+ Be sure to check-out the source to tweak the number of possible threads for more performance.
22+
23+ Good to know: Thanks to Undertow it also works as with WebSocket servers out-of-the-box :-)
You can’t perform that action at this time.
0 commit comments