I want to restrict the access to rss feed urls like
https://example.com/feed/20
and allow the access to specific IPs. I have done the following, but it didn't work.
location ^~ /feed/ {
allow 192.168.1.4;
allow 192.168.1.5;
deny all;
}
Can any one has a best way to apply this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…