Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/web/templates/site.conf.erb

Issue 29465620: #1574 - Update template syntax in web module (Closed)
Patch Set: Created June 14, 2017, 12:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/templates/site.conf.erb
===================================================================
--- a/modules/web/templates/site.conf.erb
+++ b/modules/web/templates/site.conf.erb
@@ -1,4 +1,4 @@
-root /var/www/<%= vhost %>;
+root /var/www/<%= @vhost %>;
index index;
default_type text/html;
charset utf-8;
@@ -6,7 +6,7 @@
set $index_page "index";
<% if @custom_config %>
- <%= custom_config %>
+ <%= @custom_config %>
<% end %>
location /
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld