jberger / Galileo

A Simple Modern Perl CMS
http://galileo-cms.herokuapp.com
166 stars 38 forks source link

cant create or edit page with varnish caching server #41

Closed hirnwunde closed 9 years ago

hirnwunde commented 9 years ago

when i setup a varnish server listening on port 80 and caching all galileo-things (listening on 3000) i can't edit nor create new pages.

When i point my Browser directly to Galileo all works fine

[Thu Nov 6 19:52:04 2014] [debug] GET "/store/page". [Thu Nov 6 19:52:04 2014] [debug] Template "not_found.development.html.ep" not found. [Thu Nov 6 19:52:04 2014] [debug] Template "not_found.html.ep" not found. [Thu Nov 6 19:52:04 2014] [debug] Rendering cached inline template "3e3201ab0667c1fc7f39089209f0435c". [Thu Nov 6 19:52:04 2014] [debug] Rendering cached inline template "b2d451b47e2053ce583cbfdf7bcc6006". [Thu Nov 6 19:52:04 2014] [debug] 404 Not Found (0.268523s, 3.724/s).

jberger commented 9 years ago

Websockets must be enabled to edit the site. I don't know if varnish supports websockets or not, if it does then make sure they are enabled, if not, well, I'm not sure how to help other than to suggest that nginx does support websockets natively.