HF RL Explorer

Task: Build a Python Library for Programmatically Modifying Nginx Configuration Files

Task: Build a Python Library for Programmatically Modifying Nginx Configuration Files: a task in Terminal-Lego-15k (Harbor dataset). Create a Python module that can parse, modify, and write nginx configuration files programmatically — without relying on fragile regular expressions. Your solution…

The task

Create a Python module that can parse, modify, and write nginx configuration files programmatically — without relying on fragile regular expressions. Your solution should use a structured approach (such as building an AST/tree representation of the config) to safely and reliably manipulate nginx configuration…

Part of PrimeIntellect/Terminal-Lego-15k.