summaryrefslogtreecommitdiffstats
path: root/roles/nginx/meta/argument_specs.yml
blob: 18b8de897c7b6e6341f9b936df9093a8d136bb20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
argument_specs:
  main:
    short_description: "Minimal nginx reverse proxy"
    description: "Configure nginx as a reverse proxy with TLS 1.3 and automatic SSL certificate generation"
    options:
      nginx_server_name:
        type: "str"
        description: "The server name for nginx configuration"
        default: "{{ ansible_hostname }}.local"
      nginx_worker_processes:
        type: "int"
        description: "Number of nginx worker processes"
        default: 2
      nginx_worker_connections:
        type: "int"
        description: "Number of worker connections per process"
        default: 512
      nginx_ssl_certificate:
        type: "str"
        description: "Path to SSL certificate file"
        default: "/etc/ssl/certs/nginx-selfsigned.crt"
      nginx_ssl_certificate_key:
        type: "str"
        description: "Path to SSL private key file"
        default: "/etc/ssl/private/nginx-selfsigned.key"