I switched the backend from simple Apache rules to a custom Go server in order to support ads.txt.
ads.txt