Where to put your security.txt file.
The file goes at a fixed address on your website, so tools and researchers find it without searching.
Download the file. Save it as security.txt, in plain text with UTF-8 encoding.
Upload it to /.well-known/. Put it at https://your-domain/.well-known/security.txt. On some hosts you create the .well-known folder yourself, with your file manager or FTP.
Check the address. Open the file in a browser. It loads over HTTPS as plain text (Content-Type: text/plain), without a redirect to another domain.
Cover your other domains. The file covers only the domain that serves it. Add it to each domain and subdomain you want reports about.
Publish the policy. Put the disclosure policy at the link on the Policy line.
Set a reminder. Update the Expires line before the date passes, and sign the file again if you signed it.