T/refactor nginx conf generation

~~Used a definition, because I can.~~
Done:

 - refactor to a provider
 - figure out if we can start/stop service outside