Index: modules/web/templates/site.conf.erb |
=================================================================== |
--- a/modules/web/templates/site.conf.erb |
+++ b/modules/web/templates/site.conf.erb |
@@ -1,15 +1,16 @@ |
expires 1d; |
root /var/www/<%= vhost %>; |
index index; |
default_type text/html; |
+charset utf-8; |
-<% if custom_config %> |
+<% if @custom_config %> |
<%= custom_config %> |
Felix Dahlke
2015/03/13 16:24:10
I think we need to add the @ here too - it's eithe
Wladimir Palant
2015/03/13 16:27:06
Frankly, I have no idea about the significance of
Felix Dahlke
2015/03/13 16:33:34
Having read up on this, @ apparently has special s
|
<% end %> |
# Match Accept-Language header against available languages |
set $preferredLang ""; |
if ($http_accept_language ~ ^(\w\w)-(\w\w)\b) |
{ |