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

Unified Diff: modules/adblockplus/templates/web/static.conf.erb

Issue 29689695: #7320 - Introduce helpcenter role (Closed)
Patch Set: Some improvements Created Feb. 9, 2018, 1:37 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 | « modules/adblockplus/manifests/web/static.pp ('k') | modules/private-stub/hiera/hosts.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/templates/web/static.conf.erb
diff --git a/modules/web/templates/site.conf.erb b/modules/adblockplus/templates/web/static.conf.erb
similarity index 86%
copy from modules/web/templates/site.conf.erb
copy to modules/adblockplus/templates/web/static.conf.erb
index 66f4b189592047da3f1104b9373e81162b53860f..b3a933de5ff1cb281ab330331299c25f31fa6f52 100644
--- a/modules/web/templates/site.conf.erb
+++ b/modules/adblockplus/templates/web/static.conf.erb
@@ -1,4 +1,6 @@
-root /var/www/<%= @vhost %>;
+# Puppet: <%= @title %>
+
+root /var/www/<%= @domain %>;
index index;
default_type text/html;
charset utf-8;
@@ -75,13 +77,3 @@ location ~ ^/([a-z][a-z])(/.+)
rewrite ^/([a-z][a-z])(/.+) $2 redirect;
}
}
-
-<% if @multiplexer_locations %>
- <% @multiplexer_locations.each do |location| %>
- location <%= location %>
- {
- fastcgi_pass unix:/tmp/multiplexer-fastcgi.sock;
- include /etc/nginx/fastcgi_params;
- }
- <% end %>
-<% end %>
« no previous file with comments | « modules/adblockplus/manifests/web/static.pp ('k') | modules/private-stub/hiera/hosts.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld