powered by Jive Software

Nginx proxy http-bind always return 301


When I develop a webIM with strophe which is a javascript implementation of XEP-0124 , it connect to OF with xep-0124 defined http POST method and releated post body data . but nginx always return 301 status code which means move permanently.

data flow :

1 strope javascript POST to

2 nginx listen 80 , and proxy pass to OF listen 7070

How to produce this ploblem:

install nginx with of the same machine , and configure nginx with:

Location /http-bind {

 proxy_pass [;](;)


it sees NOT a openfire issue but nginx , for that when I use browser with GET method , it return 400 status code which OF returned.


baoming sun