Security Tweak to Prevent Information Disclosure

Where do I place the code that is shown in order to prevent information disclosure? The page given here which states to copy the generated code into your site specific .conf file usually located in a subdirectory under /etc/nginx/… or /usr/local/nginx/conf/…: https://worldontech.com/wp-admin/admin.php?page=wdf-hardener