Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 location / | |
2 { | |
3 fastcgi_pass unix:/tmp/trac-fastcgi.sock; | |
4 fastcgi_split_path_info ^()(.*)$; | |
5 include /etc/nginx/fastcgi_params; | |
6 fastcgi_param PATH_INFO $fastcgi_path_info; | |
7 client_max_body_size 20m; | |
8 } | |
9 | |
10 location /chrome | |
Wladimir Palant
2014/07/22 13:52:24
Please keep the trailing slash for the location he
mathias
2014/07/24 16:36:49
I tried that, it does not seem to work with a dual
| |
11 { | |
12 alias /home/trac/htdocs/htdocs/; | |
13 } | |
14 | |
15 location /orders | |
16 { | |
17 fastcgi_pass unix:/tmp/orders-fastcgi.sock; | |
18 fastcgi_split_path_info ^/(orders)(.*)$; | |
Wladimir Palant
2014/07/22 13:52:24
^(/orders)(.*)$ please - the slash is part of the
| |
19 include /etc/nginx/fastcgi_params; | |
20 fastcgi_param SCRIPT_NAME /orders; | |
Wladimir Palant
2014/07/22 13:52:24
This should be unnecessary if the issue above is f
| |
21 fastcgi_param PATH_INFO $fastcgi_path_info; | |
22 client_max_body_size 20m; | |
23 } | |
24 | |
25 location /orders/chrome | |
26 { | |
27 alias /home/trac/htdocs/htdocs/; | |
28 } | |
LEFT | RIGHT |