This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-nginx
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
enable default vhost
master
Markus Katharina Brechtel
4 years ago
parent
f44ea9ebdc
commit
4ddf4bb9e8
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
tasks/main.yml
+ 7
- 0
tasks/main.yml
View File
@@ -14,6 +14,13 @@
dest: /etc/nginx/sites-available/default
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
template:
src: vhost.conf.j2
Write
Preview
Loading…
Cancel
Save