anchor.diff:        path = [ nginx ];
         preStart =
           ''
  -        mkdir -p ${cfg.stateDir}/logs
  +        mkdir -p /var/log/nginx ${cfg.stateDir}
           chmod 700 ${cfg.stateDir}
           chown -R ${cfg.user}:${cfg.group} ${cfg.stateDir}
           '';
  
positive.code: 
      ${optionalString (cfg.httpConfig != "") ''
      http {
        include ${cfg.package}/conf/mime.types;
        ${cfg.httpConfig}
      }
      ''}
  
negative.code:       };
  
        stateDir = mkOption {
          default = "/tmp/nginx";
          description = "
            Directory holding all state for nginx to run.
          ";
  