Skip to content

Simplistic Java model classes for NGINX config files

Notifications You must be signed in to change notification settings

daipenfei/nginx-config-model

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 93.6%
  • Nginx 6.4%