anchor.diff:        httpConfig = mkOption {
           type = types.lines;
           default = "";
  -        description = "Configuration lines to be appended inside of the http {} block.";
  +        description = "
  +          Configuration lines to be set inside the http block.
  +          This is mutually exclusive with the structured configuration
  +          via virtualHosts and the recommendedXyzSettings configuration
  +          options. See appendHttpConfig for appending to the generated http block.
  +        ";
  +      };
  +
  +      appendHttpConfig = mkOption {
  +        type = types.lines;
  +        default = "";
  +        description = "
  +          Configuration lines to be appended to the generated http block.
  +          This is mutually exclusive with using httpConfig for specifying the whole
  +          http block verbatim.
  +        ";
         };
   
         stateDir = mkOption {
  
positive.code:         }
        ''}
  
        ${cfg.httpConfig}
      }
  
      ${cfg.appendConfig}
    '';
  
negative.code: 
      ${cfg.config}
  
      ${optionalString (cfg.httpConfig == "") ''
      http {
        include ${cfg.package}/conf/mime.types;
        include ${cfg.package}/conf/fastcgi.conf;
  