mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 18:16:26 +00:00
Added Stream forwarding support
This commit is contained in:
11
manager/src/backend/templates/stream.conf.ejs
Normal file
11
manager/src/backend/templates/stream.conf.ejs
Normal file
@ -0,0 +1,11 @@
|
||||
# <%- incoming_port %> - <%- protocols.join(',').toUpperCase() %>
|
||||
<%
|
||||
protocols.forEach(function (protocol) {
|
||||
%>
|
||||
server {
|
||||
listen <%- incoming_port %> <%- protocol === 'tcp' ? '' : protocol %>;
|
||||
proxy_pass <%- forward_server %>:<%- forward_port %>;
|
||||
}
|
||||
<%
|
||||
});
|
||||
%>
|
Reference in New Issue
Block a user