0

I am getting the following error message in Nginx :

"satisfy" directive is not allowed here

Here is my nginx config for basic HTTP authentication :

location / {

                   limit_except GET {
                      satisfy any;

                      allow  some_address;
                      allow  another_address;
                      deny  all;


                      auth_basic "Elasticsearch Authentication";
                      auth_basic_user_file some_file;
                   }

    }

This configuration is inspired from this question and Nginx docs. Can you help me solve this problem ?

Community
  • 1
  • 1
ZianyD
  • 171
  • 2
  • 12

0 Answers0