···1111 ${cfg.config}
1212 ${optionalString (cfg.httpConfig != "") ''
1313 http {
1414- ${cfg.httpConfig}
1515- ${cfg.httpServers}
1616- ${cfg.httpDefaultServer}
1414+ ${cfg.httpConfig}
1715 }
1816 ''}
1917 ${cfg.appendConfig}
···6260 httpConfig = mkOption {
6361 type = types.lines;
6462 default = "";
6565- description = ''
6666- Configuration lines to be placed at the top inside of
6767- the http {} block. The option is intended to be used for
6868- the default configuration of the servers.
6969- '';
7070- };
7171-7272- httpServers = mkOption {
7373- type = types.lines;
7474- default = "";
7575- description = ''
7676- Configuration lines to be placed inside of the http {}
7777- block. The option is intended to be used for defining
7878- individual servers.
7979- '';
8080- };
8181-8282- httpDefaultServer = mkOption {
8383- type = types.lines;
8484- default = "";
8585- description = ''
8686- Configuration lines to be placed at the bottom inside of
8787- the http {} block. The option is intended to be used for
8888- setting up the default servers. The default server is used
8989- if no previously specified server matches a request.
9090- '';
6363+ description = "Configuration lines to be appended inside of the http {} block.";
9164 };
92659366 stateDir = mkOption {