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

Side by Side Diff: modules/trac/templates/fcgi.conf.erb

Issue 29336585: Issue 3667 - Introduce robots.txt for Trac setups (Closed)
Patch Set: Created Feb. 18, 2016, 1:08 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/trac/manifests/init.pp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 location <%= @location_base %>/ 1 location <%= @location_base %>/
2 { 2 {
3 fastcgi_pass unix:/tmp/<%= @name %>-fastcgi.sock; 3 fastcgi_pass unix:/tmp/<%= @name %>-fastcgi.sock;
4 fastcgi_split_path_info ^(<%= @location_base %>)(.*)$; 4 fastcgi_split_path_info ^(<%= @location_base %>)(.*)$;
5 include /etc/nginx/fastcgi_params; 5 include /etc/nginx/fastcgi_params;
6 fastcgi_param SCRIPT_NAME $fastcgi_script_name; 6 fastcgi_param SCRIPT_NAME $fastcgi_script_name;
7 fastcgi_param PATH_INFO $fastcgi_path_info; 7 fastcgi_param PATH_INFO $fastcgi_path_info;
8 client_max_body_size 20m; 8 client_max_body_size 20m;
9 } 9 }
10 10
11 location <%= @location_base %>/chrome/ 11 location <%= @location_base %>/chrome/
12 { 12 {
13 alias /home/trac/htdocs-<%= @name %>/htdocs/; 13 alias /home/trac/htdocs-<%= @name %>/htdocs/;
14 } 14 }
15 15
16 location <%= @location_base %>/robots.txt
17 {
18 alias /home/trac/robots.txt;
19 }
20
OLDNEW
« no previous file with comments | « modules/trac/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld