diff --git a/web/flat-web/deploy/nginx/nginx.conf b/web/flat-web/deploy/nginx/nginx.conf index 98037e5437a..97b3cf1977f 100644 --- a/web/flat-web/deploy/nginx/nginx.conf +++ b/web/flat-web/deploy/nginx/nginx.conf @@ -16,26 +16,26 @@ http { root /app; location ~ ^/assets.+$ { - gzip on; - gzip_static on; - gzip_types application/javascript application/x-javascript text/javascript; + gzip on; + gzip_static on; + gzip_types application/javascript application/x-javascript text/javascript; - add_header Cache-Control "public, max-age=31536000"; - try_files $uri 404; + add_header Cache-Control "public, max-age=31536000"; + try_files $uri 404; } - location /.well-known/apple-app-site-association { + location /.well-known/assetlinks.json { add_header Content-Type 'application/json; charset=utf-8'; add_header Cache-Control no-cache; - try_files /apple-app-site-association.json 200; + try_files /.well-known/assetlinks.json 200; } - location /.well-known/assetlinks.json { + location /.well-known/apple-app-site-association { add_header Content-Type 'application/json; charset=utf-8'; add_header Cache-Control no-cache; - try_files /.well-known/assetlinks.json 200; + try_files /apple-app-site-association.json 200; } location / {