summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-05-01 11:37:12 +0200
committerGitHub <noreply@github.com>2017-05-01 11:37:12 +0200
commit036e0f114a83da8b90c620677d14fc8d0e05f64d (patch)
treeba80d3f20d1dc9eb08cf8dfecbbc808961942426
parentced172010ac7ddee063a55c67da4cd6b443d02cb (diff)
downloadnixpkgs-036e0f114a83da8b90c620677d14fc8d0e05f64d.tar
nixpkgs-036e0f114a83da8b90c620677d14fc8d0e05f64d.tar.gz
nixpkgs-036e0f114a83da8b90c620677d14fc8d0e05f64d.tar.bz2
nixpkgs-036e0f114a83da8b90c620677d14fc8d0e05f64d.tar.lz
nixpkgs-036e0f114a83da8b90c620677d14fc8d0e05f64d.tar.xz
nixpkgs-036e0f114a83da8b90c620677d14fc8d0e05f64d.tar.zst
nixpkgs-036e0f114a83da8b90c620677d14fc8d0e05f64d.zip
gogs: improve cookieSecure documentation
-rw-r--r--nixos/modules/services/misc/gogs.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/services/misc/gogs.nix b/nixos/modules/services/misc/gogs.nix
index d42367761ab..ad2e36d04d5 100644
--- a/nixos/modules/services/misc/gogs.nix
+++ b/nixos/modules/services/misc/gogs.nix
@@ -170,9 +170,8 @@ in
         type = types.bool;
         default = false;
         description = ''
-          Marks session cookies as "secure," which means browsers may
-          ensure that the cookie is only sent under an HTTPS connection.
-          It's good to enable this if Gogs is being served over HTTPS.
+          Marks session cookies as "secure" as a hint for browsers to only send
+          them via HTTPS. This option is recommend, if Gogs is being served over HTTPS.
         '';
       };