2022-12-20 20:17:03 +00:00
|
|
|
<p>
|
2023-01-21 00:27:52 +00:00
|
|
|
<?= _('A Let\'s Encrypt certificate will be obtained.') ?>
|
2022-12-20 20:17:03 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2023-01-21 00:27:52 +00:00
|
|
|
<?= _('The domain must have the following records when the form is being processed.') ?>
|
2022-12-20 20:17:03 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dt><code>AAAA</code></dt>
|
|
|
|
<dd>
|
|
|
|
<code><?= CONF['ht']['ipv6_address'] ?></code>
|
|
|
|
</dd>
|
|
|
|
<dt><code>A</code></dt>
|
|
|
|
<dd>
|
|
|
|
<code><?= CONF['ht']['ipv4_address'] ?></code>
|
|
|
|
</dd>
|
|
|
|
<dt><code>TXT</code></dt>
|
|
|
|
<dd>
|
2022-12-20 23:14:55 +00:00
|
|
|
<code><?= SERVER_NAME ?>_domain-verification=<?= getAuthToken() ?></code>
|
2022-12-20 20:17:03 +00:00
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<form method="post">
|
2023-01-21 00:27:52 +00:00
|
|
|
<label for="domain"><?= _('Domain') ?></label><br>
|
2022-12-20 20:17:03 +00:00
|
|
|
<input required="" placeholder="site.<?= PLACEHOLDER_DOMAIN ?>" id="domain" name="domain" type="text"><br>
|
2023-01-21 00:27:52 +00:00
|
|
|
<label for="dir"><?= _('Target directory') ?></label><br>
|
2022-12-20 20:17:03 +00:00
|
|
|
<select required="" name="dir" id="dir">
|
|
|
|
<option value="" disabled="" selected="">---</option>
|
|
|
|
<?php
|
2022-12-22 00:44:57 +00:00
|
|
|
foreach (dirsStatuses('dns') as $dir => $alreadyEnabled)
|
2022-12-20 20:17:03 +00:00
|
|
|
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
<br>
|
2023-01-21 00:27:52 +00:00
|
|
|
<input type="submit" value="<?= _('Setup access') ?>">
|
2022-12-20 20:17:03 +00:00
|
|
|
</form>
|