Skip to content

Commit

Permalink
Add /info route
Browse files Browse the repository at this point in the history
  • Loading branch information
sharat87 committed Sep 19, 2023
1 parent 74a514a commit 35d0e74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/docker/fs/opt/appsmith/templates/nginx.conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35d0e74

Please sign in to comment.