It could be one of these issues
– you didn’t copy paste the rules correctly
– the nginx config file is not the correct one. Please confirm with your hosting provider the correct nginx config file for your website
– the HMWP rules you added is not correct. Please apply “Medium privacy more compatibility” setting in HMWP, then copy and paste the rules in nginx config file.
If you want us to have a look at it, please provide us with the server credentials and website’s wp-admin credentials.