From 8e9a89b107d526d023da19e5eeca60d14a4a66ed Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Fri, 1 May 2020 21:07:23 +0100 Subject: [PATCH] Add global logging section --- .../templates/domain_sections/logging.vue | 4 +- .../templates/global_sections/index.js | 1 + .../templates/global_sections/logging.vue | 96 +++++++++++++++++++ 3 files changed, 99 insertions(+), 2 deletions(-) create mode 100644 src/nginxconfig/templates/global_sections/logging.vue diff --git a/src/nginxconfig/templates/domain_sections/logging.vue b/src/nginxconfig/templates/domain_sections/logging.vue index df69e79..8a83a21 100644 --- a/src/nginxconfig/templates/domain_sections/logging.vue +++ b/src/nginxconfig/templates/domain_sections/logging.vue @@ -10,7 +10,7 @@
- enable for each domain + enable for this domain
@@ -28,7 +28,7 @@
- enable for each domain + enable for this domain
diff --git a/src/nginxconfig/templates/global_sections/index.js b/src/nginxconfig/templates/global_sections/index.js index b57cf10..c20688e 100644 --- a/src/nginxconfig/templates/global_sections/index.js +++ b/src/nginxconfig/templates/global_sections/index.js @@ -3,3 +3,4 @@ export { default as Security } from './security'; export { default as PHP } from './php'; export { default as Python } from './python'; export { default as Performance } from './performance'; +export { default as Logging } from './logging'; diff --git a/src/nginxconfig/templates/global_sections/logging.vue b/src/nginxconfig/templates/global_sections/logging.vue new file mode 100644 index 0000000..5213665 --- /dev/null +++ b/src/nginxconfig/templates/global_sections/logging.vue @@ -0,0 +1,96 @@ + + +