@Kevin Regarding the cache I already analyzed all the possibilities and eliminated this possibility of problem.
Regarding the permissions part I also thought so, but even adjusting the permissions with the other files, the problem persists.
Regarding your command suggestion to check the status of the url, below is the result:
About to connect() to 127.0.0.1 port 2374 (#0)
Trying 127.0.0.1…
Connected to 127.0.0.1 (127.0.0.1) port 2374 (#0)
GET /ads.txt HTTP/1.1
User-Agent: curl/7.29.0
Host: 127.0.0.1:2374
Accept: /
X-Forwarded-Proto: https
HTTP/1.1 301 Moved Permanently
X-Powered-By: Express
Cache-Control: public, max-age=31536000
Location: /ads.txt/
Date: Thu, 01 Aug 2019 15:15:46 GMT
Connection: keep-alive
Transfer-Encoding: chunked
Connection #0 to host 127.0.0.1 left intact
Regarding the cache I already analyzed all the possibilities and eliminated this possibility of problem.
Regarding the permissions part I also thought so, but even adjusting the permissions with the other files, the problem persists.
Regarding your command suggestion to check the status of the url, below is the result:
I checked all the possible issues:
- Cache - Clean, Checked, and OK
- Ghost Permissions - Set, Checked, and OK
- File Location - Checked and OK
Redirect 301 continues to domain.com/ads.txt/ as in the log above…the curious part of this story begins now…
I created other files with any-name.txt in the root of the theme, and they worked normally.
I did the test by creating a redirect inside Ghost from url domain.com/ads.txt to domain.com/adss.txt and the redirection worked normally.
Removing redirect, the initial error returns, so I can only assume there is something internal error in Ghost that is blocking the use of the url directly in the file.
@Kevin any idea what it might be?