Ian Lewis 7/3/2009

Django and nginx settings

Read Original

This technical article addresses a specific problem in Django deployments with nginx using FastCGI, where the default configuration causes Django to always load the root URL. The solution involves modifying nginx's fastcgi parameters, specifically renaming SCRIPT_NAME to PATH_INFO, to ensure correct URL routing and request handling.

Django and nginx settings

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser