aaP_evelyntanadi89 hello may i ask how to block X-Requested-With headers (im using nginx, try few nginx config but didnt succeed) there is a lot i need to block like com.guideplus.co or anything else
aaPanel_Kern Hello, try to add the following content directly in the site configuration, is it possible? proxy_set_header X-Requested-With "";
aaP_evelyntanadi89 aaPanel_Kern so when i put proxy_set_header X-Requested-With "com.test.package"; it will block all request header from com.test.package ??
aaPanel_Kern proxy_set_header X-Requested-With "com.test.package"; means to set the value of the X-Requested-With request header of the proxy request to "com.test.package". When Nginx is acting as a proxy server, this directive will add that specific request header to the request to be forwarded to the backend server. aaP_evelyntanadi89
aaP_evelyntanadi89 aaPanel_Kern im sorry im too bad for this but how did it will block all request from com.test.package ?
aaPanel_Kern aaP_evelyntanadi89 try: if ($http_x_requested_with = "com.test.package") { return 403; }