[Seaside] Nginx reverse proxying seaside problem

Laurent Laffont laurent.laffont at gmail.com
Wed Mar 26 12:03:49 UTC 2014


Hi,

I have a simple seaside page, pharo 20, ZnZincServerAdaptor, Nginx on front, configuration:

server {
    listen   80;
    server_name myserver.mydomain.fr;

    location / {
        proxy_pass  http://localhost:8085;                                                                                           
    }
}


It works except on this code in a 

WAComponent subclass: #MyForm
  renderContentOn:html
    .....
    .....
       html submitButton 
			callback: [self answer: site];
			value: 'Save'.	


when I click the save button, Nginx raises 502 Bad Gateway error. In error log:


"557 upstream prematurely closed connection while reading response header from upstream"

Any idea ?

Regards,

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20140326/654105e1/attachment.htm


More information about the seaside mailing list