Skip to content

Fix/fastcgi cache validation - #3

Open
sanrandry wants to merge 2 commits into
karozadev:mainfrom
sanrandry:fix/fastcgi-cache-validation
Open

sanrandry wants to merge 2 commits into
karozadev:mainfrom
sanrandry:fix/fastcgi-cache-validation

Conversation

@sanrandry

Copy link
Copy Markdown
Contributor

No description provided.

Add test for FastCGICache requiring zone definition in Location validation.
@sanrandry

Copy link
Copy Markdown
Contributor Author

Summary

  • Reject enabled FastCGI caches without a zone path or zone size.
  • Add a regression test for incomplete zone definitions.

Why

The renderer skipped the required fastcgi_cache_path declaration when the path was empty, yet still emitted fastcgi_cache. Generated configurations could therefore be invalid.

This pull request was requested by our master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant