I manually added the file.
The configuration command auto_prepend_file is not a valid directive for nginx. I ended up adding the following to the nginx website conf file:
fastcgi_param PHP_VALUE “auto_prepend_file =/var/www/public_html/wordfence-waf.php”;
I’m trying to do the same thing. I’m getting the same 422 error.
Server Response{ “code”: 422, “message”: “Forbidden”, “errors”: [ “Forbidden” ] }
-
This reply was modified 1 year, 7 months ago by maple530.