diff --git a/deploy/docker/fs/opt/appsmith/templates/nginx.conf.sh b/deploy/docker/fs/opt/appsmith/templates/nginx.conf.sh index c2e75190f0e..aa33116fdf2 100755 --- a/deploy/docker/fs/opt/appsmith/templates/nginx.conf.sh +++ b/deploy/docker/fs/opt/appsmith/templates/nginx.conf.sh @@ -148,6 +148,11 @@ http { try_files /loading.html \$uri /index.html =404; } + location = /info { + add_header Content-Type application/json; + alias /opt/appsmith/info.json; + } + location ~ ^/static/(js|css|media)\b { # Files in these folders are hashed, so we can set a long cache time. add_header Cache-Control "max-age=31104000, immutable"; # 360 days