Hi,
On Tue, Apr 4, 2017, at 17:45, Anoop Alias wrote:
> You can put it above the other deny location
> # Allow "Well-Known URIs" as per RFC 5785
> location ~* ^/.well-known/ {
> allow all;
> }
>
Or use "^~" because it's of higher precedence compared to "~".
> If the longest matching prefix location has the “^~” modifier then regular
> expressions are not checked.
http://nginx.org/r/location
location ^~ /.well-known/ { }
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx