Code

Changes between Version 13 and Version 14 of DjangoAndNginx


Ignore:
Timestamp:
05/16/12 14:35:06 (2 years ago)
Author:
CollinAnderson
Comment:

the fastcgi_split_path_info url fix I use. I don't know why things don't work by default.

Legend:

Unmodified
Added
Removed
Modified
  • DjangoAndNginx

    v13 v14  
    5656}}} 
    5757 
     58If your urls are not working correctly, you may need to add this line to `location /`: 
     59{{{ 
     60    fastcgi_split_path_info ^()(.*)$; 
     61}}} 
     62 
    5863You may use a unix socket instead of a port number like so: `fastcgi_pass unix:/home/www/myhostname/fastcgi.sock` 
    5964