From 421d8d1aa0ba348eac175b49213dd19a8fd1d668 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 13 Feb 2024 23:31:06 +0100 Subject: nginx: factor out ssl config into include --- roles/webserver/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/webserver/tasks/main.yml') diff --git a/roles/webserver/tasks/main.yml b/roles/webserver/tasks/main.yml index 891e962..5e8be87 100644 --- a/roles/webserver/tasks/main.yml +++ b/roles/webserver/tasks/main.yml @@ -9,6 +9,7 @@ loop: - www - user_conf.d + - inc notify: Restart nginx - name: Setup nginx @@ -26,6 +27,7 @@ volumes: # Use 'Z' to privately relable selinux contexts. - "{{ DATA_ROOT }}/nginx/user_conf.d:/etc/nginx/user_conf.d:ro,Z" + - "{{ DATA_ROOT }}/nginx/inc:/etc/nginx/inc:ro,Z" # Use 'z' to shared-ly relable selinux contexts. - "{{ DATA_ROOT }}/nginx/www:/www:ro,z" -- cgit v1.2.3