For future versions of the emtay platform I am working on a php driven solution to manage all things regarding deployment in a separate repo. I have decided to go all php, previously at my former work we used kustomize and bash but this will not suit my needs. One of the things I will need to do is have a multiton of nginx configs, and I would like to handle this in an object oriented unittested way.
So when I found out that there was a package out there generating nginx config but heavily outdated I decided to simply adopt it and give it the necessary refresh
Up until now I have always just used the open source available, too busy with my projects themselves. But when I saw the package and realised that the solution itself was great but just needed some polishing I decided to adopt it.
The adoption I made was from a fork in 2017 - even that fork seemed abandoned - so I am the third author. There were 2 todo's in the main Directive class file which I processed, furthermore added some more tests and gave the code a general update to be php7.3+.
I wish to express my gratitude to Roman Pitak for the original package and Toms Seisums for the 2017 updates. You may find the repo here