Permalink
Browse files

nginx: minor modifications on templates

  • Loading branch information...
1 parent 9b71697 commit b8f1229c418ac44bc5ca54935b9fe61056c30079 @daks committed Jan 2, 2012
Showing with 6 additions and 6 deletions.
  1. +3 −3 nginx/templates/proxy.erb
  2. +3 −3 nginx/templates/redirect.erb
@@ -6,12 +6,12 @@
# module nginx
upstream <%= server_name %> {
- server <%= upstream %>;
+ server <%= upstream %>;
}
server {
- listen <%= define_port %>;
- server_name <%= server_name %><% server_aliases.each do |val| -%> <%= val %><% end -%>;
+ listen <%= define_port %>;
+ server_name <%= server_name %><% server_aliases.each do |val| -%> <%= val %><% end -%>;
access_log /var/log/nginx/<%= server_name %>.access.log;
error_log /var/log/nginx/<%= server_name %>.error.log;
@@ -6,8 +6,8 @@
# module nginx
server {
- listen <%= define_port %>;
- server_name <%= server_name %><% server_aliases.each do |val| -%> <%= val %><% end -%>;
- rewrite <%= rewrite_pattern %>;
+ listen <%= define_port %>;
+ server_name <%= server_name %><% server_aliases.each do |val| -%> <%= val %><% end -%>;
+ rewrite <%= rewrite_pattern %>;
}

0 comments on commit b8f1229

Please sign in to comment.