Private location does not work

Saint Michael venefax at gmail.com
Sun Feb 19 06:52:12 UTC 2023


>
> 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?



>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230219/cd5f23f8/attachment.htm>


More information about the nginx mailing list