summaryrefslogtreecommitdiffstats
path: root/roles/nginx/meta/argument_specs.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-13 22:02:25 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-13 22:20:15 +0200
commiteb43727aee4356089f1b1111efd3c40c3a4a5474 (patch)
tree2204e5d2a957af4fb5e2bac798a41c29a90cb7c1 /roles/nginx/meta/argument_specs.yml
parent253b649a459310da07eacc7d5fa14e83761ccee2 (diff)
Add nginx role
Diffstat (limited to 'roles/nginx/meta/argument_specs.yml')
-rw-r--r--roles/nginx/meta/argument_specs.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/nginx/meta/argument_specs.yml b/roles/nginx/meta/argument_specs.yml
new file mode 100644
index 00000000..18b8de89
--- /dev/null
+++ b/roles/nginx/meta/argument_specs.yml
@@ -0,0 +1,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"