Below is my simple httpd.conf entry:

server "www.example.com" {
        listen on * port 80
        root "/htdocs/www.example.com/"
        location "/app" {fastcgi socket "/run/gunicorn.sock"}
}

In the background gunicorn server is running. When I access
www.example.com/app, I get 500 Internal Server Error. There is nothing
in the httpd error log (/var/www/logs/error.log). The gunicorn server
doesn't report any incoming request.
Hence, I thing request breaks down in the  httpd part before
forwarding to the request to gunicorn.
How do I go about debugging httpd requests.  I have put "-v -d" in the
httpd_flags in /etc/rc.conf.local but doesnt produce any additional
log messages.


Thanks
-S

Reply via email to