Prevent stale frontend assets in Docker
This commit is contained in:
@@ -78,6 +78,8 @@ def test_frontend_uses_same_origin_api_proxy_by_default() -> None:
|
||||
assert "location /api/" in nginx_config
|
||||
assert "proxy_pass http://backend:8000/api/" in nginx_config
|
||||
assert "location = /health" in nginx_config
|
||||
assert 'add_header Cache-Control "no-cache"' in nginx_config
|
||||
assert "location /assets/" in nginx_config
|
||||
assert "try_files $uri $uri/ /index.html" in nginx_config
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user