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

Delta Between Two Patch Sets: modules/hgweb/templates/nginx.conf.erb

Issue 29324553: Issue 2909 - Allow for adjusting the location of $hgweb::templates (Closed)
Left Patch Set: Created Aug. 24, 2015, 5:36 p.m.
Right Patch Set: Issue 2909 - Removed *.orig fragment included by accident Created Oct. 1, 2015, 12:04 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « modules/hgweb/manifests/init.pp ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 location / 1 location /
2 { 2 {
3 root /home/hg/web; 3 root /home/hg/web;
4 rewrite ^/customization/(.*) /abpcustomization/$1 permanent; 4 rewrite ^/customization/(.*) /abpcustomization/$1 permanent;
5 fastcgi_pass unix:/var/run/hgweb.sock; 5 fastcgi_pass unix:/var/run/hgweb.sock;
6 include fastcgi_params; 6 include fastcgi_params;
7 fastcgi_param SCRIPT_NAME ""; 7 fastcgi_param SCRIPT_NAME "";
8 }
9
10 location ~ /[^/]+/(atom|rss)-log
11 {
12 root /home/hg/web;
13 fastcgi_pass unix:/var/run/hgweb.sock;
14 include fastcgi_params;
15 fastcgi_param SCRIPT_NAME "";
16 fastcgi_cache hgwebfeed;
17 fastcgi_cache_key $uri;
18 fastcgi_cache_lock on;
19 fastcgi_cache_valid 200 5m;
8 } 20 }
9 21
10 location /static/ 22 location /static/
11 { 23 {
12 root <%= @templates %>; 24 root <%= @templates %>;
13 } 25 }
14 26
15 location /robots.txt 27 location /robots.txt
16 { 28 {
17 root /home/hg/web; 29 root /home/hg/web;
18 } 30 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld