Hello everyone, I have a problem with ratelimit. It works when I put /, but does not work when I specify some specific url. For example /api does not work.
Work
http://site.com {
root /app/public
gzip
ratelimit get,post 1 1 second {
/
}
fastcgi / app:9000 php
rewrite {
to {path} {path}/ /index.php?{query}
}
}
Dont Work
http://site.com {
root /app/public
gzip
ratelimit get,post 1 1 second {
/api
}
fastcgi / app:9000 php
rewrite {
to {path} {path}/ /index.php?{query}
}
}
What is the problem?