Note that there are some explanatory texts on larger screens.

plurals
  1. POWhere did Pylons beautiful error handling go? Using Nginx + Paster + Flup#fcgi_thread
    primarykey
    data
    text
    <p>I need to run my development through nginx due to some complicated subdomain routing rules in my pylons app that wouldn't be handled otherwise.</p> <p>I had been using lighttpd + paster + Flup#scgi_thread and the nice error reporting by Pylons had been working fine in that environment.</p> <p>Yesterday I recompiled Python and MySQL for 64bit, and also switched to Ngix + paster + Flup#fcgi_thread for my development environment.</p> <p>Everything is working great, but I miss the fancy error reports. This is what I get now, and it is a mess compared to what I got used to:</p> <p><a href="http://drp.ly/Iygeg" rel="nofollow noreferrer">http://drp.ly/Iygeg</a></p> <p><a href="http://drp.ly/Iygeg" rel="nofollow noreferrer">Valid XHTML http://drp.ly/Iygeg</a>.</p> <p>And here are the pylons/nginx configs. </p> <p>Pylons:</p> <pre><code>[server:main] use = egg:Flup#fcgi_thread host = 0.0.0.0 port = 6500 </code></pre> <p>Nginx:</p> <pre><code>location / { #include /usr/local/nginx/conf/fastcgi.conf; fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param QUERY_STRING $query_string; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_pass_header Authorization; fastcgi_intercept_errors off; fastcgi_pass 127.0.0.1:6500; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload