Skip to content

Conversation

@artonix101
Copy link
Contributor

Pull Request (PR) description

This PR adds support for GB as a unit for Nginx::size (see issue #1656 ). Also, the regex of the Pattern parameter has been fixed to not use or symbol. Corresponding tests have been added to verify the new functionality.

This Pull Request (PR) fixes the following issues

Fixes #1656

- Add GB to size unit parsing
- Add tests for GB size units
- Fix regex of Pattern parameter
- Update reference.md
@bastelfreak bastelfreak added the enhancement New feature or request label Dec 17, 2025
@bastelfreak bastelfreak merged commit 96f2203 into voxpupuli:master Dec 17, 2025
16 checks passed
@artonix101 artonix101 deleted the add-gb-to-size-units branch December 18, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nginx::Size should accept g or G for gigabytes

2 participants