From 35d0e74124aabd4e05489c0c512b3023192699df Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Tue, 19 Sep 2023 14:41:10 +0530 Subject: [PATCH] Add /info route --- deploy/docker/fs/opt/appsmith/templates/nginx.conf.sh | 5 +++++ 1 file changed, 5 insertions(+) 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