Index: modules/web/templates/site.erb |
=================================================================== |
--- a/modules/web/templates/site.erb |
+++ b/modules/web/templates/site.erb |
@@ -78,9 +78,19 @@ server |
if (-f $document_root/$preferredLang$canonical) |
{ |
rewrite ^ /$preferredLang$canonical last; |
} |
if (-f $document_root/en$canonical) |
{ |
rewrite ^ /en$canonical last; |
} |
+ |
+ <% if @multiplexer_locations %> |
+ <% @multiplexer_locations.each do |location| %> |
+ location <%= location %> |
+ { |
+ fastcgi_pass unix:/tmp/multiplexer-fastcgi.sock; |
+ include /etc/nginx/fastcgi_params; |
+ } |
+ <% end %> |
+ <% end %> |
} |