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

@@ -84,11 +84,11 @@
<input type="text" class="form-control" ng-model="domainConfigure.nameComToken" name="nameComToken" ng-disabled="domainConfigure.busy" ng-minlength="1" ng-required="domainConfigure.provider === 'namecom'">
</div>
<p ng-show="domainConfigure.provider === 'wildcard'">
<p class="small text-info" ng-show="domainConfigure.provider === 'wildcard'">
Setup <i>A</i> records for <b>*.{{ domainConfigure.newDomain || domainConfigure.domain.domain }}</b> and <b>{{ domainConfigure.newDomain || domainConfigure.domain.domain }}</b> to this server's IP.
</p>
<p ng-show="domainConfigure.provider === 'manual'">
<p class="small text-info" ng-show="domainConfigure.provider === 'manual'">
<b>All DNS records have to be setup manually before each app installation.</b>
</p>
@@ -110,6 +110,7 @@
<div class="form-group">
<label class="control-label">Certificate Provider</label>
<select class="form-control" ng-model="domainConfigure.tlsConfig.provider" ng-options="a.value as a.name for a in tlsProvider"></select>
<small class="text-info" ng-show="domainConfigure.tlsConfig.provider === 'letsencrypt-prod' || domainConfigure.tlsConfig.provider === 'letsencrypt-staging'">Let's Encrypt requires your server to be reachable on port 80</small>
</div>
<!-- Fallback certificate -->