Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.