All ruby on rails forms doesn't load
I have a droplet with ruby on rails (postgres, nginx and unicorn) configured and it works fine for most pages, but not for any of the forms. So I can access the the view for index of a controller (or any static pages), but I cant access the new for example or the edit of any of my classes. When I try
http://dropletIP/XXXX/new firefox answers me with incorrect redirecting.