diff --git a/src/nginxconfig/scss/style.scss b/src/nginxconfig/scss/style.scss index 4f513ac..e31c5f2 100644 --- a/src/nginxconfig/scss/style.scss +++ b/src/nginxconfig/scss/style.scss @@ -191,18 +191,18 @@ $highlight: #f2c94c; .button { &.is-static { background: $panel; - border-color: $border; - border-style: solid; - border-width: 1px 0 1px 1px; + border: 1px solid $border; color: $dark-grey; padding: 0 ($margin * 1.5); } } .control { - + .control { - &:not(.is-expanded) { - margin-top: .25rem; + &:not(.is-expanded) { + + .control { + &:not(.is-expanded) { + margin-top: .25rem; + } } } } diff --git a/src/nginxconfig/templates/global_sections/index.js b/src/nginxconfig/templates/global_sections/index.js index c20688e..9cf6c4f 100644 --- a/src/nginxconfig/templates/global_sections/index.js +++ b/src/nginxconfig/templates/global_sections/index.js @@ -4,3 +4,4 @@ export { default as PHP } from './php'; export { default as Python } from './python'; export { default as Performance } from './performance'; export { default as Logging } from './logging'; +export { default as NGINX } from './nginx'; diff --git a/src/nginxconfig/templates/global_sections/nginx.vue b/src/nginxconfig/templates/global_sections/nginx.vue new file mode 100644 index 0000000..2d651c1 --- /dev/null +++ b/src/nginxconfig/templates/global_sections/nginx.vue @@ -0,0 +1,169 @@ + + + + + NGINX config directory + + + + + + + + + + + + + worker_processes + + + + + + + + + + + + + user + + + + + + + + + + + + + pid + + + + + + + + + + + + + client_max_body_size + + + + + + + + + MB + + + + + + + + +