hi:
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 http://127.0.0.1/http-bind
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 [http://127.0.0.1:7070;](http://127.0.0.1:7070;)
}
it sees NOT a openfire issue but nginx , for that when I use browser with http://127.0.0.1/http-bind GET method , it return 400 status code which OF returned.
Regards,
baoming sun