Add a wildcard provider option

This commit is contained in:
Girish Ramakrishnan
2018-09-12 11:45:07 -07:00
parent 94b079fa7b
commit 4312096dd2
4 changed files with 36 additions and 10 deletions

View File

@@ -148,15 +148,13 @@
</div>
<!-- Wildcard -->
<p ng-show="dnsCredentials.provider === 'wildcard'">
<p class="small text-info" ng-show="dnsCredentials.provider === 'wildcard'">
<span>Setup A records for <b>*.{{ dnsCredentials.domain || 'example.com' }}</b> and <b>{{ dnsCredentials.domain || 'example.com' }}</b> to this server's IP.</span>
</p>
<!-- Manual -->
<p ng-show="dnsCredentials.provider === 'manual'">
<span>
Setup an A record for <b>my.{{ dnsCredentials.domain || 'example.com' }}</b> to this server's IP.<br/>
</span>
<p class="small text-info" ng-show="dnsCredentials.provider === 'manual'">
<span>Setup an A record for <b>my.{{ dnsCredentials.domain || 'example.com' }}</b> to this server's IP.<br/></span>
</p>
<div ng-show="provider === 'ami'">
@@ -188,6 +186,7 @@
<div class="form-group">
<label class="control-label">Certificate Provider</label>
<select class="form-control" ng-model="dnsCredentials.tlsConfig.provider" ng-options="a.value as a.name for a in tlsProvider" ng-disabled="dnsCredentials.busy"></select>
<small class="text-info" ng-show="dnsCredentials.tlsConfig.provider === 'letsencrypt-prod' || dnsCredentials.tlsConfig.provider === 'letsencrypt-staging'">Let's Encrypt requires your server to be reachable on port 80</small>
</div>
</div>
<div class="text-center">