1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-12-05 07:42:07 +03:00

Added Stream forwarding support

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

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';
},