dataset/seed/nginx-common/dictionaries/21_nginx.yml

73 lines
1.3 KiB
YAML
Raw Normal View History

2024-10-01 13:18:45 +02:00
---
version: 1.1
nginx:
default_http:
hidden: true
default: false
default_https:
description: Support the default.d directory for HTTPS connexion
hidden: true
default: false
default:
type: domainname
mandatory: false
hidden: true
disabled:
variable: general.os_name
when_not: Fedora
root:
type: unix_filename
mandatory: false
hidden: true
default: /usr/share/nginx/html
hash_bucket_size:
description: The bucket size for the server names hash tables
mode: advanced
default: '128'
choices:
- '128'
- '64'
- '32'
post_max_size:
description: The maximum allowed size of the client request body
help: This value is in Mb
mode: advanced
default: 32
owner:
type: unix_user
description: Nginx process owner
hidden: true
default:
jinja: >-
{%- if general.os_name == "Fedora" -%}
nginx
{%- else -%}
www-data
{%- endif -%}
group:
type: unix_user
description: Nginx process group
hidden: true
default:
jinja: >-
{%- if general.os_name == "Fedora" -%}
nginx
{%- else -%}
adm
{%- endif -%}
source_conf:
hidden: true
default:
jinja: >-
nginx.conf.{{ general.os_name }}