There are different options to authenticate your site with Bing.
- Place an
XMLfile on your web server - Copy and paste a
<meta>tag in your default webpage - Add CNAME record to DNS
In this post we targets option 1 since we are already familiar with Serving a single File with NGinx
In the scenario outline above this requires the following two steps:
- Copy your
BingSiteAuth.xmlto a know location on your server (e.g./var/www/html/devops). - Configure NGinx to serve the file under the required URL:
location /BingSiteAuth.xml {
alias /var/www/html/devops/BingSiteAuth.xml;
}
Verify the result with Bing webmaster tools and you should be fine.
I'm curious to see how many people find us from Bing searches...