From 1757bc546dc1f328f1de1aa7f731497da30b390c Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 6 Sep 2023 13:59:37 +0100 Subject: [PATCH] Rename to not have file extension As this is what apple need. Also make the docker container serve it with the right content type. --- config/nginx.conf | 4 ++++ ...e-app-site-association.json => apple-app-site-association} | 0 2 files changed, 4 insertions(+) rename public/{apple-app-site-association.json => apple-app-site-association} (100%) diff --git a/config/nginx.conf b/config/nginx.conf index f7253465..5dc69b2f 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -21,5 +21,9 @@ server { expires 1w; add_header Cache-Control "public, no-transform"; } + + location /apple-app-site-association { + default_type application/json; + } } diff --git a/public/apple-app-site-association.json b/public/apple-app-site-association similarity index 100% rename from public/apple-app-site-association.json rename to public/apple-app-site-association