mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Ssl in mediabrowser against new listener.
This commit is contained in:
parent
7993ac7213
commit
cec334d511
2 changed files with 25 additions and 1 deletions
|
@ -58,9 +58,24 @@
|
|||
</li>
|
||||
<li>
|
||||
<label for="txtDdns">${LabelExternalDDNS}</label>
|
||||
<input id="txtDdns" />
|
||||
<input id="txtDdns"/>
|
||||
<div class="fieldDescription">${LabelExternalDDNSHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkUseHttps">${LabelUseHttps}</label>
|
||||
<input type="checkbox" id="chkUseHttps" data-mini="false" />
|
||||
<div class="fieldDescription">${LabelUseHttpsHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtHttpsPort">${LabelHttpsPort}</label>
|
||||
<input type="number" id="txtHttpsPort" pattern="[0-9]*" required="required" min="1" />
|
||||
<div class="fieldDescription">${LabelHttpsPortHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtCertificatePath">${LabelCertificatePath}</label>
|
||||
<input type="text" id="txtCertificatePath" />
|
||||
<div class="fieldDescription">${LabelCertificatePathHelp}</div>
|
||||
</li>
|
||||
</ul>
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
$('#txtPortNumber', page).val(config.HttpServerPortNumber);
|
||||
$('#txtPublicPort', page).val(config.PublicPort);
|
||||
|
||||
$('#chkUseHttps', page).checked(config.UseHttps).checkboxradio('refresh');
|
||||
$('#txtHttpsPort', page).val(config.HttpsPortNumber);
|
||||
$('#txtCertificatePath', page).val(config.CertificatePath);
|
||||
|
||||
$('#txtDdns', page).val(config.WanDdns || '');
|
||||
|
||||
$('#chkEnableUpnp', page).checked(config.EnableUPnP).checkboxradio('refresh');
|
||||
|
@ -84,6 +88,11 @@
|
|||
config.HttpServerPortNumber = $('#txtPortNumber', form).val();
|
||||
config.PublicPort = $('#txtPublicPort', form).val();
|
||||
|
||||
config.UseHttps = $('#chkUseHttps', form).checked();
|
||||
config.HttpsPortNumber = $('#txtHttpsPort', form).val();
|
||||
config.CertificatePath = $('#txtCertificatePath', form).val();
|
||||
|
||||
|
||||
config.EnableUPnP = $('#chkEnableUpnp', form).checked();
|
||||
|
||||
config.WanDdns = $('#txtDdns', form).val();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue