aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nginx/tasks
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-05-19 19:32:59 -0700
committerbnewbold <bnewbold@robocracy.org>2016-05-19 19:32:59 -0700
commit95e10bb4c0d69a21dc7fc4179a268fbd824f3bbf (patch)
treeaedf796b29fc46f6c66f34ab51a41395c72d70ec /roles/nginx/tasks
parent860e68da12a99e9ddd70d3a96ee4ad44ab5ebe09 (diff)
downloadinfra-95e10bb4c0d69a21dc7fc4179a268fbd824f3bbf.tar.gz
infra-95e10bb4c0d69a21dc7fc4179a268fbd824f3bbf.zip
nginx: control nginx.conf (general config) under ansible
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