 Issue 29323409:
  Issue 2867 - Introduce module hgweb and corresponding server role  (Closed)
    
  
    Issue 29323409:
  Issue 2867 - Introduce module hgweb and corresponding server role  (Closed) 
  | Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| (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 } | |
| OLD | NEW |