size="10" maxlength="30" /><br/>
				Specify the refresh rate of the stats page in seconds, or specified time unit (us, ms, s, m, h, d).
			</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td colspan="2" valign="top" class="listtopic">Error files</td>
		</tr>
		<tr class="" align="left" id='errorfiles'>
		<td colspan="2" valign="top" class="vtable">
		Use these to replace the error pages that haproxy can generate by custom pages created on the files tab.
		For example haproxy will generate a 503 error page when no backend is available, you can replace that page here.
		<br/>
		<br/>
		<?php 
haproxy_htmllist("table_errorfile", $a_errorfiles, $fields_errorfile);
?>
		</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td colspan="2" valign="top" class="listtopic">Advanced</td>
		</tr>
		<tr class="" align="left" id='Strict-Transport-Security'>
			<td width="22%" valign="top" class="vncell">HSTS Strict-Transport-Security</td>
			<td width="78%" class="vtable" colspan="2">
				When configured enables "HTTP Strict Transport Security" leave empty to disable. (only used on 'http' frontends)<br/>
				<b>WARNING! the domain will only work over https with a valid certificate!</b><br/>
				<input id="strict_transport_security" name="strict_transport_security" type="text" <?php 
if (isset($pconfig['strict_transport_security'])) {
    echo "value=\"{$pconfig['strict_transport_security']}\"";
				<br/>
				<input id="ssloffloadacl" name="ssloffloadacl" type="checkbox" value="yes" <?php 
if ($pconfig['ssloffloadacl'] == 'yes') {
    echo "checked";
}
?>
 onclick="updatevisibility();" />Add ACL for certificate CommonName.
			</td>
		</tr>
		<tr class="haproxy_ssloffloading_enabled">
			<td width="22%" valign="top" class="vncell">Additional certificates</td>
			<td width="78%" class="vtable" colspan="2" valign="top">
			Which of these certificate will be send will be determined by haproxys SNI recognition. If the browser does not send SNI this will not work properly. (IE on XP is one example, possibly also older browsers or mobile devices)
			<?php 
$a_certificates = $pconfig['a_certificates'];
haproxy_htmllist("tableA_sslCertificates", $a_certificates, $fields_sslCertificates);
?>
				<br/>
				<input id="ssloffloadacladditional" name="ssloffloadacladditional" type="checkbox" value="yes" <?php 
if ($pconfig['ssloffloadacladditional'] == 'yes') {
    echo "checked";
}
?>
 onclick="updatevisibility();" />Add ACL for certificate CommonName.
			</td>
		</tr>
		<tr class="haproxy_ssloffloading_enabled haproxy_primary" align="left">
			<td width="22%" valign="top" class="vncell">Advanced ssl options</td>
			<td width="78%" class="vtable" colspan="2">
				<input type='text' name='dcertadv' size="64" id='dcertadv' <?php 
if (isset($pconfig['dcertadv'])) {
			<td width="22%" valign="top" class="vncell">Client verification CA certificates</td>
			<td width="78%" class="vtable" colspan="2" valign="top">
			Client certificate will be verified against these CA certificates.
			<?php 
$a_certificates = $pconfig['clientcert_ca'];
haproxy_htmllist("table_clientcert_ca", $a_certificates, $fields_caCertificates);
?>
			</td>
		</tr>
		<tr class="haproxy_ssloffloading_enabled haproxy_primary">
			<td width="22%" valign="top" class="vncell">Client verification CRL</td>
			<td width="78%" class="vtable" colspan="2" valign="top">
			Client certificate will be verified against these CRL revocation lists.
			<?php 
$a_certificates = $pconfig['clientcert_crl'];
haproxy_htmllist("table_clientcert_crl", $a_certificates, $fields_crlCertificates);
?>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
	</table>
	<table width="100%" border="0" cellpadding="6" cellspacing="0">
		<tr align="left">
			<td width="22%" valign="top">&nbsp;</td>
			<td width="78%">
				<input name="Submit" type="submit" class="formbtn" value="Save" />  
				<input type="button" class="formbtn" value="Cancel" onclick="history.back()" />
				<?php 
if (isset($id) && $a_backend[$id]) {
		</tr>
		<tr align="left">
			<td class="vncell" colspan="3"><strong>Server list</strong><input id="server_advanced_options_visible" name="server_advanced_options_visible" type='checkbox' onclick="updatevisibility();">Show advanced options(servers need to first be saved to configure these settings)</input>
			<span style="float:right;">
			Toggle serverlist help. <a onclick="toggleCSSdisplay('.haproxy_help_serverlist');" title="<?php 
echo gettext("Help");
?>
"><img style="vertical-align:middle" src="/themes/<?php 
echo $g['theme'];
?>
/images/icons/icon_help.gif" border="0" alt="help" /></a>
			</span>
			<?php 
$counter = 0;
$a_servers = $pconfig['a_servers'];
haproxy_htmllist("tableA_servers", $a_servers, $fields_servers, null, $fields_servers_details);
?>
			<table class="haproxy_help_serverlist" style="border:1px dashed green" cellspacing="0">
			<tr><td class="vncell">
			Mode: </td><td class="vncell">Active: server will be used normally<br/>
			Backup: server is only used in load balancing when all other non-backup servers are unavailable<br/>
			Disabled: server is marked down in maintenance mode<br/>
			Inactive: server will not be available for use
			</td></tr><tr><td class="vncell">
			Name: </td><td class="vncell">Used to as a name for the server in for example the stats<br/>EXAMPLE: MyWebServer
			</td></tr><tr><td class="vncell">
			Address: </td><td class="vncell">IP or hostname(only resolved on start-up.)<br/>EXAMPLE: 192.168.1.22 , fe80::1000:2000:3000:4000%em0 , WebServer1.localdomain
			</td></tr><tr><td class="vncell">
			Port: </td><td class="vncell">The port of the backend.<br/>EXAMPLE: 80 or 443<br/>
			</td></tr><tr><td class="vncell">
			SSL: </td><td class="vncell">Is the backend using SSL (commonly with port 443)<br/>
		</tr>
		<tr align="left">
			<td class="vncell" colspan="3"><strong>Server list</strong>
			<span style="float:right;">
			Toggle serverlist help. <a onclick="toggleCSSdisplay('.haproxy_help_serverlist');" title="<?php 
echo gettext("Help");
?>
"><img style="vertical-align:middle" src="/themes/<?php 
echo $g['theme'];
?>
/images/icons/icon_help.gif" border="0" alt="help" /></a>
			</span>
			<?php 
$counter = 0;
$a_servers = $pconfig['a_servers'];
haproxy_htmllist("tableA_servers", $a_servers, $fields_servers);
?>
			<table class="haproxy_help_serverlist" style="border:1px dashed green" cellspacing="0">
			<tr><td class="vncell">
			Mode: </td><td class="vncell">Active: server will be used normally<br/>
			Backup: server is only used in load balancing when all other non-backup servers are unavailable<br/>
			Disabled: server is marked down in maintenance mode<br/>
			Inactive: server will not be available for use
			</td></tr><tr><td class="vncell">
			Name: </td><td class="vncell">Used to as a name for the server in for example the stats<br/>EXAMPLE: MyWebServer
			</td></tr><tr><td class="vncell">
			Address: </td><td class="vncell">IP or hostname(only resolved on start-up.)<br/>EXAMPLE: 192.168.1.22 , fe80::1000:2000:3000:4000%em0 , WebServer1.localdomain
			</td></tr><tr><td class="vncell">
			Port: </td><td class="vncell">The port of the backend.<br/>EXAMPLE: 80 or 443<br/>
			</td></tr><tr><td class="vncell">
			SSL: </td><td class="vncell">Is the backend using SSL (commonly with port 443)<br/>