Skip to content

Commit ce9e748

Browse files
author
Istemi Ekin Akkus
committed
fix ansible nginx installation over existing old installation (remove old site)
1 parent a99b35d commit ce9e748

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deploy/ansible/nginx.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@
133133
- name: Disable default site
134134
file: path=/etc/nginx/sites-enabled/default state=absent
135135

136+
- name: Disable old microfunctions site
137+
file: path=/etc/nginx/sites-enabled/microfunctions state=absent
138+
139+
- name: Remove old microfunctions site
140+
file: path=/etc/nginx/sites-available/microfunctions state=absent
141+
136142
- name: Configure KNIX MicroFunctions site
137143
template:
138144
dest: "/etc/nginx/sites-available/knix-microfunctions"

0 commit comments

Comments
 (0)