>
> I have two locations

/xxxxx
/yyyyyy

the public one is /yyyyy, nobody is supposed to access /xxxxx from the
Internet.
Inside /yyyy, I call /xxxxx, but if I do this:

location /asrxxxx {
default_type  'text/html; charset=UTF-8';
allow 127.0.0.1;
 deny all;

it fails with forbidden. But I am using only from another location inside
the same server.

How do I protect internal service locations and at the same time use them?



>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to