lib/rda/nginx.rb in rda-0.4.0.pre vs lib/rda/nginx.rb in rda-0.4.0

- old
+ new

@@ -42,10 +42,10 @@ end end def include_sites_enabled unless configured?(conf_path, "include #{conf_dir}/sites-enabled/*;") - gsub_file conf, /http \{/, <<-INCLUDE_SITES_ENABLED + gsub_file conf_path, /http \{/, <<-INCLUDE_SITES_ENABLED http { include #{conf_dir}/sites-enabled/*; INCLUDE_SITES_ENABLED end end