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

Side by Side Diff: modules/hgweb/templates/nginx.conf.erb

Issue 29324553: Issue 2909 - Allow for adjusting the location of $hgweb::templates (Closed)
Patch Set: Created Aug. 24, 2015, 5:36 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 add_header Strict-Transport-Security "max-age=2592000"; 1 location /
2 2 {
3 location / {
4 root /home/hg/web; 3 root /home/hg/web;
5 rewrite ^/customization/(.*) /abpcustomization/$1 permanent; 4 rewrite ^/customization/(.*) /abpcustomization/$1 permanent;
6 fastcgi_pass unix:/var/run/hgweb.sock; 5 fastcgi_pass unix:/var/run/hgweb.sock;
7 include fastcgi_params; 6 include fastcgi_params;
8 fastcgi_param SCRIPT_NAME ""; 7 fastcgi_param SCRIPT_NAME "";
9 } 8 }
10 9
11 location /static/ { 10 location /static/
12 root /usr/share/mercurial/templates; 11 {
12 root <%= @templates %>;
13 } 13 }
14 14
15 location /robots.txt { 15 location /robots.txt
16 {
16 root /home/hg/web; 17 root /home/hg/web;
17 } 18 }
OLDNEW
« modules/hgweb/manifests/init.pp ('K') | « modules/hgweb/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld