Skip to content

Commit

Permalink
nixos/services.nginx: Fix globalRedirect example
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar authored and globin committed Oct 22, 2017
1 parent ff56245 commit 3c48a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/services/web-servers/nginx/vhost-options.nix
Expand Up @@ -142,10 +142,10 @@ with lib;
globalRedirect = mkOption {
type = types.nullOr types.str;
default = null;
example = http://newserver.example.org/;
example = "newserver.example.org";
description = ''
If set, all requests for this host are redirected permanently to
the given URL.
the given hostname.
'';
};

Expand Down

0 comments on commit 3c48a1e

Please sign in to comment.