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

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

Issue 29323409: Issue 2867 - Introduce module hgweb and corresponding server role (Closed)
Patch Set: Issue 2867 - Now the complete patch-set again Created Aug. 17, 2015, 6:17 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 | « modules/hgweb/files/hgweb.sh ('k') | modules/hgweb/files/robots.txt » ('j') | no next file with comments »
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";
Wladimir Palant 2015/08/24 16:49:48 This is duplicating String-Transport-Security head
mathias 2015/08/24 17:38:46 Done.
2
3 location / {
Wladimir Palant 2015/08/24 16:49:48 We generally put opening brackets on the next line
mathias 2015/08/24 17:38:46 Done.
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;
Wladimir Palant 2015/08/24 16:49:48 This isn't pointing to the Mercurial instance runn
mathias 2015/08/24 17:38:46 Done.
13 }
14
15 location /robots.txt {
16 root /home/hg/web;
17 }
OLDNEW
« no previous file with comments | « modules/hgweb/files/hgweb.sh ('k') | modules/hgweb/files/robots.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld