diff --git a/src/nginxconfig/i18n/en/templates/app.js b/src/nginxconfig/i18n/en/templates/app.js
index 27b79af..b9eb4e7 100644
--- a/src/nginxconfig/i18n/en/templates/app.js
+++ b/src/nginxconfig/i18n/en/templates/app.js
@@ -1,5 +1,5 @@
export default {
title: 'NGINXConfig',
- description: '',
+ description: 'The easiest way to configure a performant, secure, and stable NGINX server.',
oss: 'This tool is {link|open-source on GitHub|https://github.com/do-community/nginxconfig-vue} under the {link|Apache-2.0|https://github.com/do-community/nginxconfig-vue/blob/master/LICENSE} license! We welcome feedback and contributions.',
};
diff --git a/src/nginxconfig/templates/app.vue b/src/nginxconfig/templates/app.vue
index 7f04e09..5715c75 100644
--- a/src/nginxconfig/templates/app.vue
+++ b/src/nginxconfig/templates/app.vue
@@ -27,6 +27,8 @@ limitations under the License.
+
Per-website config
+
@@ -47,6 +49,9 @@ limitations under the License.
:style="{ display: data[1] === active ? 'block' : 'none' }"
>
+
+
Global config
+
@@ -60,13 +65,15 @@ limitations under the License.
import isChanged from '../util/is_changed';
import i18n from '../i18n';
import Domain from './domain';
+ import Global from './global';
export default {
name: 'App',
components: {
- Domain,
Header,
Footer,
+ Domain,
+ Global,
},
data() {
return {
@@ -74,6 +81,7 @@ limitations under the License.
domains: [
clone(Domain.delegated),
],
+ global: Global.delegated,
active: 0,
};
},
diff --git a/src/nginxconfig/templates/global.vue b/src/nginxconfig/templates/global.vue
new file mode 100644
index 0000000..43c216d
--- /dev/null
+++ b/src/nginxconfig/templates/global.vue
@@ -0,0 +1,108 @@
+
+
+
+