mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 19:14:03 +00:00
fix(deploy): harden runtime config and migrations
This commit is contained in:
@@ -10,6 +10,11 @@ server {
|
||||
return 200 '{"ok":true}';
|
||||
}
|
||||
|
||||
location = /config.js {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate" always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user