diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix
index e9630d379f3..62671e9d748 100644
--- a/nixos/modules/services/web-servers/nginx/default.nix
+++ b/nixos/modules/services/web-servers/nginx/default.nix
@@ -390,13 +390,24 @@ in
};
config = mkOption {
+ type = types.str;
default = "";
- description = "
- Verbatim nginx.conf configuration.
- This is mutually exclusive with the structured configuration
- via virtualHosts and the recommendedXyzSettings configuration
- options. See appendConfig for appending to the generated http block.
- ";
+ description = ''
+ Verbatim nginx.conf configuration.
+ This is mutually exclusive to any other config option for
+ nginx.conf except for
+
+
+
+
+
+
+
+
+
+ If additional verbatim config in addition to other options is needed,
+ should be used instead.
+ '';
};
appendConfig = mkOption {