3 Replies Latest reply on Mar 13, 2013 10:58 AM by werrenmi

    Http-enabled behind nginx webserver

    werrenmi

      Hello

       

      I try to setup HornetQ over Http. When i directly connect with the client (core) to the server over http it works. But i need to configure nginx as reverse proxy and i get a "bad request" when the client tries to connect to the server.

       

      server {

             listen 80;

             server_name mydomain.ch;

             location /messaging/HornetQServlet {

                      proxy_pass http://localhost:5445/messaging/HornetQServlet;

              }

      }

       

      I know, this is not directly a HornetQ problem, but maybe there are people here, they have done a configuration like this.

       

      Thanks in advance!

       

      Regards Michel