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

Side by Side Diff: modules/hgweb/files/nginx.conf

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
« no previous file with comments | « no previous file | modules/hgweb/manifests/init.pp » ('j') | modules/hgweb/manifests/init.pp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 add_header Strict-Transport-Security "max-age=2592000";
2
3 location / {
4 root /home/hg/web;
5 rewrite ^/customization/(.*) /abpcustomization/$1 permanent;
6 fastcgi_pass unix:/var/run/hgweb.sock;
7 include fastcgi_params;
8 fastcgi_param SCRIPT_NAME "";
9 }
10
11 location /static/ {
12 root /usr/share/mercurial/templates;
13 }
14
15 location /robots.txt {
16 root /home/hg/web;
17 }
OLDNEW
« no previous file with comments | « no previous file | modules/hgweb/manifests/init.pp » ('j') | modules/hgweb/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld