Commit d3320cbd authored by santiagomr's avatar santiagomr Committed by santiagomr
Browse files

Disable the default site of apache and nginx

parent ae408974
......@@ -54,3 +54,9 @@
src: /etc/apache2/sites-available/nc_{{ nextcloud_instance_name }}.conf
state: link
notify: reload http
- name: "[APACHE] - Disable apache default site"
file:
path: /etc/apache2/sites-enabled/000-default.conf
state: absent
notify: reload http
\ No newline at end of file
......@@ -78,3 +78,9 @@
src: /etc/nginx/sites-available/nc_{{ nextcloud_instance_name }}.cnf
state: link
notify: reload http
- name: "[NGINX] - Disable nginx default site"
file:
path: /etc/nginx/sites-enabled/default
state: absent
notify: reload http
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment