Used Defender for first time - now getting 502 Bad Gateway on my nginx

Installed Defender for the first time. Going through the initial 'Must Dos' I did not change anything on nginx but I did update security keys. Now I'm get a 502 Bad Gateway on all access points. Can I revert the change or is there something on nginx I need to do?