Provide an option for LE cert dir (fixes #156)

This commit is contained in:
MattIPv4
2020-06-21 15:52:07 +01:00
parent 0f4c53b5ac
commit 97ccb98ef8
4 changed files with 25 additions and 3 deletions

View File

@@ -194,6 +194,23 @@ THE SOFTWARE.
</div>
</div>
</div>
<div v-if="letsEncryptCertRootEnabled" class="field is-horizontal">
<div class="field-label">
<label class="label">{{ i18n.templates.globalSections.https.letsEncryptCertRoot }}</label>
</div>
<div class="field-body">
<div class="field">
<div :class="`control${letsEncryptCertRootChanged ? ' is-changed' : ''}`">
<input v-model="letsEncryptCertRoot"
class="input"
type="text"
:placeholder="$props.data.letsEncryptCertRoot.default"
/>
</div>
</div>
</div>
</div>
</template>
</div>
</template>
@@ -261,6 +278,10 @@ THE SOFTWARE.
default: '/var/www/_letsencrypt/',
enabled: true,
},
letsEncryptCertRoot: {
default: '/etc/letsencrypt/live/',
enabled: true,
},
};
export default {