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

Unified Diff: modules/hgweb/files/nginx.conf

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 | « no previous file | modules/hgweb/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/hgweb/files/nginx.conf
diff --git a/modules/hgweb/files/nginx.conf b/modules/hgweb/files/nginx.conf
deleted file mode 100644
index 32dda2db39d7bacafd2d89aaa4fca7edb94cc221..0000000000000000000000000000000000000000
--- a/modules/hgweb/files/nginx.conf
+++ /dev/null
@@ -1,30 +0,0 @@
-location /
-{
- root /home/hg/web;
- rewrite ^/customization/(.*) /abpcustomization/$1 permanent;
- fastcgi_pass unix:/var/run/hgweb.sock;
- include fastcgi_params;
- fastcgi_param SCRIPT_NAME "";
-}
-
-location ~ /[^/]+/(atom|rss)-log
-{
- root /home/hg/web;
- fastcgi_pass unix:/var/run/hgweb.sock;
- include fastcgi_params;
- fastcgi_param SCRIPT_NAME "";
- fastcgi_cache hgwebfeed;
- fastcgi_cache_key $uri;
- fastcgi_cache_lock on;
- fastcgi_cache_valid 200 5m;
-}
-
-location /static/
-{
- root /usr/share/mercurial/templates;
-}
-
-location /robots.txt
-{
- root /home/hg/web;
-}
« no previous file with comments | « no previous file | modules/hgweb/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld