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 |