我正在尝试在 apache2 (/opt/bitnami/apache2/htdocs) 的根目录中添加 apple-app-site-association 文件并尝试通过邮递员访问它,但我得到的输出是我的 index.html(我的 wordpress网站)当我访问它时。
网址:https ://abcd.com/apple-app-site-association
输出 :
这是我在 httpd.conf 文件中添加的代码片段,
<Directory "/opt/bitnami/apache2/htdocs">
<Files apple-app-site-association>
Header set Content-type "application/json"
</Files>
</Directory>
谁能指导我如何配置它以获得 apple-app-site-association 而不是 index.html 的确切输出?
谢谢.apach