Hi all, I am running ghost on a droplet - installed via the marketplace - and all seems to be well. However - curiosity led me to look in /var/logs/nginx, which is slowly filling with errors.
The errors look like this (redacted with xxx):
2020/01/28 12:44:00 [error] 11444#11444: *11635 open() “/var/www/ghost/.well-known/nodeinfo” failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: xxxxxxxx.com, request: “GET /.well-known/nodeinfo HTTP/1.1”, host: “xxxxxxx.com”
I’m wondering if somebody else has stopped these errors from occurring, and where is the best place to do it / best method to do it. I’m guessing it’s something to do with certbot and/or the nginx configuration, but don’t want to go tinkering if somebody else has already solved it.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I had a few minutes this afternoon, so started digging. It’s interesting - the IP addresses doing GETs that cause the errors to appear in the logs are always from two locations in Germany, and seem to happen every few hours. Thinking about it - whoever is doing it, is specifically doing a get of the /.well-known/nodeinfo path - which doesn’t exist…
Just had time for another look. The errors are being thrown following requests from spiders that are hitting the site, looking for both status.net installation paths, and the default “well-known” folder structures.
I guess the only thing that doesn’t make sense is why nginx is throwing errors instead of 404s when the paths are requested.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.