Register dta_blog for node-static deploy (closes #29)
Sync runner checkout / sync (pull_request) Successful in 7s

Catalog + host_apps on all webservers (prod 8086 / beta 8087) with webroots
under /var/www/{env}.blog.realpath.app/html. Nginx serves the SSG 404 page
instead of SPA index fallback.
This commit is contained in:
2026-09-10 20:20:44 -05:00
parent 2abcdd7c58
commit 9e42a4f55c
9 changed files with 56 additions and 4 deletions
+8
View File
@@ -30,9 +30,17 @@ server {
root {{ (app_catalog[a.name].webroot_pattern | default(web_static_root ~ '/{env}_' ~ a.name)) | replace('{env}', a.env) }};
index index.html;
{% if app_catalog[a.name].error_page_404 | default('') %}
error_page 404 {{ app_catalog[a.name].error_page_404 }};
location / {
try_files $uri $uri/ =404;
}
{% else %}
location / {
try_files $uri $uri/ /index.html;
}
{% endif %}
location ~* \.(?:js|css|woff2?|png|jpg|jpeg|gif|svg|ico)$ {
expires 7d;