1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/nixos/modules/services/web-servers/nginx
Maximilian Bosch 55ef9612a2
nixos/nginx: improve documentation for config
Unfortunately, I had a use-case where `services.nginx.config` was
necessary quite recently. While working on that config I had to look up
the module's code to understand which options can be used and which
don't.

To slightly improve the situation, I changed the documentation like
this:

* Added `types.str` as type since `config` is not mergeable on purpose.
  It must be a string as it's rendered verbatim into `nginx.conf` and if
  the type is `unspecified`, it can be confused with RFC42-like options.

* Mention which config options that don't generate config in
  `nginx.conf` are NOT mutually exclusive.
2020-12-06 17:26:13 +01:00
..
default.nix nixos/nginx: improve documentation for config 2020-12-06 17:26:13 +01:00
gitweb.nix nixos/nginx/gitweb: add some (crucial) options 2020-01-14 00:11:10 +00:00
location-options.nix nginx: add a warning that nginx's basic auth isn't very good. 2020-11-02 08:16:01 -05:00
vhost-options.nix nginx: add a warning that nginx's basic auth isn't very good. 2020-11-02 08:16:01 -05:00