1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-11-24 08:42:27 +02:00

disable nginx default site

This enables access to vm hosted explain.depesz.com without
intervention following vagrant provisioning.
This commit is contained in:
Gilad Raphaelli 2015-10-01 12:41:57 -04:00
parent 055e74bc99
commit 1e4b5f94c2

View File

@ -102,6 +102,13 @@ server {
require => Package['nginx'],
}
file { '/etc/nginx/sites-enabled/default':
ensure => "absent",
purge => true,
notify => Service['nginx'],
require => Package['nginx'],
}
service { 'nginx':
ensure => running,