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

Unified Diff: modules/hgweb/templates/nginx.conf.erb

Issue 29324553: Issue 2909 - Allow for adjusting the location of $hgweb::templates (Closed)
Patch Set: Issue 2909 - Removed *.orig fragment included by accident Created Oct. 1, 2015, 12:04 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/hgweb/manifests/init.pp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/hgweb/templates/nginx.conf.erb
diff --git a/modules/hgweb/files/nginx.conf b/modules/hgweb/templates/nginx.conf.erb
similarity index 93%
rename from modules/hgweb/files/nginx.conf
rename to modules/hgweb/templates/nginx.conf.erb
index 32dda2db39d7bacafd2d89aaa4fca7edb94cc221..e4b09fe5c32054523a2529b216bfe5e502c30396 100644
--- a/modules/hgweb/files/nginx.conf
+++ b/modules/hgweb/templates/nginx.conf.erb
@@ -21,7 +21,7 @@ location ~ /[^/]+/(atom|rss)-log
location /static/
{
- root /usr/share/mercurial/templates;
+ root <%= @templates %>;
}
location /robots.txt
« no previous file with comments | « modules/hgweb/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld