aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hetzner/nginx.yaml')
-rw-r--r--hetzner/nginx.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/hetzner/nginx.yaml b/hetzner/nginx.yaml
new file mode 100644
index 0000000..006d4e3
--- /dev/null
+++ b/hetzner/nginx.yaml
@@ -0,0 +1,25 @@
1---
2- name: Install Nginx
3 hosts: localhost
4 tasks:
5 - name: Install NGINX
6 ansible.builtin.include_role:
7 name: nginxinc.nginx
8 vars:
9 nginx_modules:
10 - geoip
11 - perl
12 nginx_service_modify: true
13 nginx_service_timeout: 95
14 nginx_logrotate_conf_enable: true
15 nginx_logrotate_conf:
16 paths:
17 - /var/log/nginx/*.log
18 options:
19 - daily
20 - missingok
21 - rotate 14
22 - compress
23 - delaycompress
24 - notifempty
25 - sharedscripts
Powered by cgit v1.2.3 (git 2.41.0)