Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
vince-hz committed Mar 21, 2024
1 parent 2702e63 commit ce1b858
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions web/flat-web/deploy/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 / {
Expand Down

0 comments on commit ce1b858

Please sign in to comment.