diff --git a/src/nginxconfig/templates/domain_sections/reverse_proxy.vue b/src/nginxconfig/templates/domain_sections/reverse_proxy.vue index ebd40e8..c9cdb42 100644 --- a/src/nginxconfig/templates/domain_sections/reverse_proxy.vue +++ b/src/nginxconfig/templates/domain_sections/reverse_proxy.vue @@ -97,22 +97,22 @@ }; export default { - name: 'DomainReverseProxy', // Component name - display: 'Reverse proxy', // Display name for tab - key: 'reverseProxy', // Key for data in parent - delegated: delegatedFromDefaults(defaults), // Data the parent will present here + name: 'DomainReverseProxy', // Component name + display: 'Reverse proxy', // Display name for tab + key: 'reverseProxy', // Key for data in parent + delegated: delegatedFromDefaults(defaults), // Data the parent will present here components: { PrettyCheck, }, props: { - data: Object, // Data delegated back to us from parent + data: Object, // Data delegated back to us from parent }, data () { return { i18n, }; }, - computed: computedFromDefaults(defaults), // Getters & setters for the delegated data + computed: computedFromDefaults(defaults, 'reverseProxy'), // Getters & setters for the delegated data watch: { // If the PHP or Python is enabled, the Reverse proxy will be forced off '$parent.$props.data': { diff --git a/src/nginxconfig/templates/domain_sections/routing.vue b/src/nginxconfig/templates/domain_sections/routing.vue index 3ef21a4..5f3f3d7 100644 --- a/src/nginxconfig/templates/domain_sections/routing.vue +++ b/src/nginxconfig/templates/domain_sections/routing.vue @@ -1,8 +1,109 @@