diff --git a/src/nginxconfig/templates/domain_sections/https.vue b/src/nginxconfig/templates/domain_sections/https.vue
index 71e2377..6bf8e13 100644
--- a/src/nginxconfig/templates/domain_sections/https.vue
+++ b/src/nginxconfig/templates/domain_sections/https.vue
@@ -227,6 +227,7 @@ THE SOFTWARE.
import ExternalLink from 'do-vue/src/templates/external_link';
import delegatedFromDefaults from '../../util/delegated_from_defaults';
import computedFromDefaults from '../../util/computed_from_defaults';
+ import { serverDomainDefault } from '../../util/defaults';
import PrettyCheck from '../inputs/checkbox';
import PrettyRadio from '../inputs/radio';
@@ -269,7 +270,7 @@ THE SOFTWARE.
},
letsEncryptEmail: {
default: '',
- computed: 'info@example.com', // No default value, but a default computed
+ computed: `info@${serverDomainDefault}`, // No default value, but a default computed
enabled: true,
},
sslCertificate: {
diff --git a/src/nginxconfig/templates/domain_sections/logging.vue b/src/nginxconfig/templates/domain_sections/logging.vue
index fa58823..272cb7b 100644
--- a/src/nginxconfig/templates/domain_sections/logging.vue
+++ b/src/nginxconfig/templates/domain_sections/logging.vue
@@ -44,7 +44,7 @@ THE SOFTWARE.
v-model="accessLogPath"
class="input"
type="text"
- :placeholder="`/var/log/nginx/${$parent.$props.data.server.domain.computed}.access.log`"
+ :placeholder="$props.data.accessLogPath.default"
/>
@@ -86,7 +86,7 @@ THE SOFTWARE.
v-model="errorLogPath"
class="input"
type="text"
- :placeholder="`/var/log/nginx/${$parent.$props.data.server.domain.computed}.error.log`"
+ :placeholder="$props.data.errorLogPath.default"
/>
@@ -119,7 +119,7 @@ THE SOFTWARE.
diff --git a/src/nginxconfig/templates/domain_sections/server.vue b/src/nginxconfig/templates/domain_sections/server.vue
index 6f327e5..c13073b 100644
--- a/src/nginxconfig/templates/domain_sections/server.vue
+++ b/src/nginxconfig/templates/domain_sections/server.vue
@@ -147,16 +147,17 @@ THE SOFTWARE.