static and media url fix 2

This commit is contained in:
javad committed 2026-09-11 13:09:38 +03:30
1 parent 372f962f0f
commit 5e16dee19e
4 files changed
+16 -26

No files matched your search

+5 -5
View File
@@ -45,11 +45,11 @@ def test_nginx_serves_assets_without_proxying_django():
assert "media_data:/app/media:ro" in compose
assert "notification-worker:" in compose
assert " db:" not in compose
assert "PathPrefix(`/static/`)" in compose
assert "PathPrefix(`/media/branding/`)" in compose
assert "PathPrefix(`/protected-media/`)" in compose
assert "priority=1000" in compose
assert "stripprefix" not in compose.lower()
# Normal Git-based Coolify applications generate proxy routes from the
# service Domains fields. Hand-maintained Traefik routers belong to Raw
# Compose deployments and must not compete with Coolify's generated routes.
assert "traefik.http.routers" not in compose
assert "traefik.docker.network" not in compose
assert "Set MEDIA_SIGNING_SECRET in Coolify" not in compose