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

Unified Diff: modules/trac/templates/fcgi.conf.erb

Issue 5735669590654976: #753 - set up an order system to let eyeo employees file order requests (Closed)
Patch Set: #753 - set up an order system to let eyeo employees file order requests Created Aug. 6, 2014, 12:38 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/trac/manifests/init.pp ('k') | modules/trac/templates/orders.ini.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/trac/templates/fcgi.conf.erb
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/trac/templates/fcgi.conf.erb
@@ -0,0 +1,15 @@
+location <%= @location_base %>/
+{
+ fastcgi_pass unix:/tmp/<%= @name %>-fastcgi.sock;
+ fastcgi_split_path_info ^(<%= @location_base %>)(.*)$;
+ include /etc/nginx/fastcgi_params;
+ fastcgi_param SCRIPT_NAME $fastcgi_script_name;
+ fastcgi_param PATH_INFO $fastcgi_path_info;
+ client_max_body_size 20m;
+}
+
+location <%= @location_base %>/chrome/
+{
+ alias /home/trac/htdocs-<%= @name %>/htdocs/;
+}
+
« no previous file with comments | « modules/trac/manifests/init.pp ('k') | modules/trac/templates/orders.ini.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld