Sorry for not mentioning. No messages in either the Nginx or Supervisord
error logs. I've increased the Supervisord log level to debug. Perhaps I
should increase the debug level on Nginx too.


On 23 November 2010 22:22, Roger Hoover <[email protected]> wrote:

> Is there anything in the nginx error log?
>
> On Tue, Nov 23, 2010 at 12:05 PM, Jurie-Jan Botha <[email protected]
> > wrote:
>
>> I've searched high and low for some tips on running Supervisord on a Unix
>> domain socket behind Nginx but I can seem to find anything to help me
>> resolve the problem I'm currently facing.
>>
>> According to what I've seen running with the following Nginx configuration
>> should work:
>>
>> server {
>>   listen 8080;
>>   server_name supervisor;
>>
>>   location / {
>>     proxy_pass http://unix:/home/www/supervisor/supervisord.sock:/;
>>     #proxy_pass http://127.0.0.1:9001/;
>>   }
>> }
>>
>>
>> But I get the following back:
>>
>> <head>
>> <title>Error response</title>
>> </head>
>> <body>
>> <h1>Error response</h1>
>> <p>Error code 500.
>> <p>Message: Internal Server Error.
>> </body>
>>
>> Not sure where it's coming from.
>>
>> The permissions on my sockets are right, and when I run supervisord with
>> the 'inet_http_server' settings it works fine.
>>
>> Any tips would be apreciated. Thanks
>>
>> _______________________________________________
>> Supervisor-users mailing list
>> [email protected]
>> http://lists.supervisord.org/mailman/listinfo/supervisor-users
>>
>>
>
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to