Add ads.txt to the domain root path


I need to place the ads.txt file at the root of a Ghost installation, but without much success.

Currently I use Ghost on a server of my own, with Nginx + Varnish and the installation made with Ghost-Cli, although I don’t have many problems, this file is taking my patience :rofl:

I read this article:

Where @Kevin replied that placing the file at the root of the theme would resolve and Ghost would map the url to the file, but that’s not the case, ghost redirects to a 404 error URL when I try to access the file at

If anyone can help with solutions on how to put this file in the root of the site I appreciate it :slightly_smiling_face:

Note: Customizing Nginx to display this file is a solution, but I would like to know how to do this internally in CMS without changing the web server.

Wash L.

Please don’t create duplicate topics. Merging this with the previous one

A post was merged into an existing topic: Trying to add a file to the theme root directory but always add slash when request