You've already forked nginx-proxy-manager
mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-03 19:51:12 +03:00
50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
<td>
|
|
<% if (type === 'stream') { %>
|
|
<%- incoming_port %>
|
|
<%- protocols.join(', ').toUpperCase() %>
|
|
<% } else { %>
|
|
<a href="<%- ssl ? 'https' : 'http' %>://<%- hostname %>" target="_blank"><%- hostname %></a>
|
|
<% } %>
|
|
</td>
|
|
<td>
|
|
<span class="monospace">
|
|
<% if (type === 'proxy' || type === 'stream') { %>
|
|
<%- forward_server %>:<%- forward_port %>
|
|
<% } else if (type === 'redirection') { %>
|
|
<%- forward_host %>
|
|
<% } else if (type === '404') { %>
|
|
404
|
|
<% } %>
|
|
</span>
|
|
</td>
|
|
<td>
|
|
<% if (type === 'stream') { %>
|
|
-
|
|
<% } else { %>
|
|
<% if (ssl && force_ssl) { %>
|
|
Forced
|
|
<% } else if (ssl) { %>
|
|
Enabled
|
|
<% } else { %>
|
|
No
|
|
<% } %>
|
|
<% } %>
|
|
</td>
|
|
<td>
|
|
<% if (type === 'stream') { %>
|
|
-
|
|
<% } else { %>
|
|
<% if (access_list) { %>
|
|
<a href="#" class="access_list"><%- access_list.name %></a>
|
|
<% } else { %>
|
|
<em>None</em>
|
|
<% } %>
|
|
<% } %>
|
|
</td>
|
|
<td class="text-right">
|
|
<button type="button" class="btn btn-default btn-xs reconfigure" title="Reconfigure Nginx"><i class="fa fa-refresh" aria-hidden="true"></i></button>
|
|
<button type="button" class="btn btn-default btn-xs advanced" title="Advanced Configuration"<%- type === 'stream' ? ' disabled' : '' %>><i class="fa fa-code" aria-hidden="true"></i></button>
|
|
<button type="button" class="btn btn-warning btn-xs edit" title="Edit"><i class="fa fa-pencil" aria-hidden="true"></i></button>
|
|
<button type="button" class="btn btn-danger btn-xs delete" title="Delete"><i class="fa fa-times" aria-hidden="true"></i></button>
|
|
</td>
|