Hi!
I need some help how to restrict some reverse proxy functions, I'm using nginx proxy at home and this is my config to restrict PUT POST and DELETE. My question is how to do this in aapanel:
`location /v2/ {
if ($request_method ~* (PUT|POST|DELETE)) {
return 403;
}
proxy_pass $forward_scheme://$server:$port;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}`
And another restriction, my question is the same:
location /api/ {
return 403;
}
Thanks!