Added Stream forwarding support

This commit is contained in:
Jamie Curnow committed 2018-02-16 16:57:54 +10:00
1 parent d2130a24a1
commit b57d1e5a66
15 files changed
+264 -38

No files matched your search

+4
View File
@@ -32,6 +32,10 @@ const internalNginx = {
* @returns {String}
*/
getConfigName: host => {
if (host.type === 'stream') {
return '/config/nginx/stream/' + host.incoming_port + '.conf';
}
return '/config/nginx/' + host.hostname + '.conf';
},