Index: modules/trac/templates/site.erb |
=================================================================== |
--- a/modules/trac/templates/site.erb |
+++ b/modules/trac/templates/site.erb |
@@ -27,25 +27,19 @@ server { |
ssl_certificate adblockplus.org_sslcert.pem; |
ssl_certificate_key adblockplus.org_sslcert.key; |
add_header Strict-Transport-Security max-age=31536000; |
location / |
{ |
- set $path_info $request_uri; |
- if ($path_info ~ "(.*?)\?") |
- { |
- set $path_info $1; |
- } |
- |
fastcgi_pass unix:/tmp/trac-fastcgi.sock; |
+ fastcgi_split_path_info ^()(.*)$; |
include /etc/nginx/fastcgi_params; |
- fastcgi_param SCRIPT_NAME ""; |
- fastcgi_param PATH_INFO $path_info; |
+ fastcgi_param PATH_INFO $fastcgi_path_info; |
} |
location /chrome/ |
{ |
alias /home/trac/htdocs/htdocs/; |
} |
} |