aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nginx/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/tasks')
-rw-r--r--roles/nginx/tasks/nginx.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/nginx/tasks/nginx.yml b/roles/nginx/tasks/nginx.yml
index fdc91c8..87fa0ca 100644
--- a/roles/nginx/tasks/nginx.yml
+++ b/roles/nginx/tasks/nginx.yml
@@ -27,6 +27,10 @@
- {src: "{{ nginx_default_favicon }}", dest: "favicon.png"}
- {src: "{{ nginx_default_index }}", dest: "index.html"}
+- name: Copy top-level nginx site configuration
+ template: src=etc_nginx_nginx.conf.j2
+ dest=/etc/nginx/nginx.conf
+
- name: Copy generic (default) nginx site configuration
template: src=etc_nginx_sites-available_default.j2
dest=/etc/nginx/sites-available/default