You've already forked nginx-proxy-manager
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:
@@ -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';
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user