lib/negroku/tasks/templates/nginx.erb in negroku-0.0.1 vs lib/negroku/tasks/templates/nginx.erb in negroku-0.0.2
- old
+ new
@@ -9,11 +9,11 @@
}
<% end %>
# HTTP Server
server {
- listen 80 deferred;
- server_name <%= fetch(:domains, ["platan.us", "www.platan.us"]).join(" ") %>;
+ listen 80;
+ server_name <%= fetch(:domains) %>;
root <%= fetch(:deploy_to) %>/current/<%= fetch(:static_dir) %>;
access_log /home/<%= fetch(:user) %>/log/<%= fetch(:application) %>-nginx-access.log;
error_log /home/<%= fetch(:user) %>/log/<%= fetch(:application) %>-nginx-error.log;
\ No newline at end of file