Adding ads.txt to ghost website running in docker
Adding ads.txt to ghost website running in docker
The simplest way of adding ads.txt is to add it to your current ghost web theme.
Login to your docker image: docker run -ti docker_id /bin/bash or kubectl exec -ti pod_name /bin/bash and navigate to folder: /var/lib/ghost/content/themes/casper/
Create ads.txt file with CAT only command:
cat > ads.txt [ENTER]Paste in your content and press Ctrl+d to store the file.
Your're done.