Browse Source

enable default vhost

master
parent
commit
4ddf4bb9e8
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      tasks/main.yml

+ 7
- 0
tasks/main.yml View File

@@ -14,6 +14,13 @@
dest: /etc/nginx/sites-available/default dest: /etc/nginx/sites-available/default
notify: reload nginx notify: reload nginx


- name: enable default vhost
file:
src: ../sites-available/default
dest: /etc/nginx/sites-enabled/default
state: link
notify: reload nginx

- name: vhosts - name: vhosts
template: template:
src: vhost.conf.j2 src: vhost.conf.j2


Loading…
Cancel
Save