Skip to content

t1/nginx-config-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplistic Java model classes for NGINX config files

Goals

  • POJO style
  • Read-Modify-Write
  • Change only what is known, esp.:
    • Don't change unknown tokens
    • Don't change comments or whitespace
    • This does not have to be perfect for whitespace between known expressions

Non-Goals

  • Validation
  • To Be Fast
  • Access to all aspects of the config
  • Build config from scratch

Alternatives

Restrictions

Anything between upstream and server directives will be moved after the last server directive. This kind of moving also happens to unknown expressions within known blocks.

About

Simplistic Java model classes for NGINX config files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages