Python Nginx Versions Save

Create and modify nginx serverblock configs in Python

1.5.6

3 years ago

Fixed

  • Fixed additional bugs in parsing lines with semicolons or curly braces when quotation marks are involved
  • Fixed bug in parsing configs without a final linebreak (thanks @fulder!)

Features

  • Set nginx.DEBUG to True to show logging output of what is being parsed

1.5.5

3 years ago

Fixed

  • Fixed bugs in parsing lines that contain a semicolon or curly brace inside of quotes
  • Fixed bug in creating new Keys in which the value isn't a string but is still stringable (int)

1.5.3

5 years ago

Fixed

  • Fixed bug in parsing Type directives as well as misidentifying certain possible key names (thanks @SGamoff and @fulder!)

1.5.2

5 years ago

Fixed

  • Fixed bug in parsing semicolons in quoted values, notably if keys (thanks @fulder!)

1.5.1

5 years ago

Fixed

  • Fixed bug in parsing limit_except parameters (thanks @fulder!)

1.5

5 years ago

Features

  • Supports managing stream configuration blocks (thanks @xannz!)

1.4

6 years ago

Fixed

  • Fixed bugs in parsing single key values and quoted keys/values (thanks @fulder!)
  • Fixed bugs when finding a map key in loading of nginx.conf. (thanks @fulder!)

1.3

6 years ago

Features

  • Full refactoring of configuration parsing.
  • Now supports the loading of root NGINX configurations, like the kind you see at /etc/nginx/nginx.conf.

Fixed

  • Fixed several bugs involving parsing of messy files, brace locations, and individual keys with no values (thanks @lelik9 and @USSX-Hares!)

1.2

6 years ago

Fixed

  • Fixed several bugs involving parsing of messy files and brace locations (thanks @lelik9!)
  • Fixed a bug where an exception was raised if a key was found in the top level of the configuration.

1.1

6 years ago

Fixed

  • Fixed a bug where an exception was raised if location blocks didn't contain any normal keys.
  • Fixed a bug where an exception was raised if a closing brace was used inside a key's value.