This is Nginx 1.0.15 on CentOS. I have an AngularJS app that is server through Nginx proxy, and connects to a backend, also served by that Nginx, on a different domain.
Here is my config: http://pastebin.com/rL87ujr0
It works OK on all browsers, except for Firefox, which aborts the OPTIONS requests for requests directed to https://ankieta.example.com/admin/remotecontrol
I also tried adding this config http://pastebin.com/s5NL33A1 to location /admin/remotecontrol
After I updated to Nginx 1.6, I got a very different error, described here: Nginx redirects from https to http, without directive
All help appreciated.