From 73e80f65332c852402f644cb8c0918d9c3c3201b Mon Sep 17 00:00:00 2001 From: Tim Bendt Date: Sat, 29 Nov 2025 18:05:58 -0500 Subject: [PATCH] Fix nginx template to use correct path for third_party assets - Changed alias from ${NIXPACKS_PHP_ROOT_DIR}/pancake/third_party to /app/pancake/third_party - This fixes 404 errors for JS/CSS files with query strings - NIXPACKS_PHP_ROOT_DIR variable not being set properly in containers - Static assets now serve correctly from all containers --- nginx.template.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.template.conf b/nginx.template.conf index eeb93d9..632c206 100644 --- a/nginx.template.conf +++ b/nginx.template.conf @@ -82,7 +82,7 @@ http { # Static assets for pancake/third_party location /pancake/third_party { - alias ${NIXPACKS_PHP_ROOT_DIR}/pancake/third_party; + alias /app/pancake/third_party; expires 1y; add_header Cache-Control "public, immutable";