summary refs log tree commit diff
path: root/nixos/modules/services/security/oauth2_proxy.nix
diff options
context:
space:
mode:
authorDavid Johnson <djohnson.m@gmail.com>2017-10-06 16:52:22 -0700
committerGitHub <noreply@github.com>2017-10-06 16:52:22 -0700
commit5b530d4568158d9ac99ad70cd9684d7f263a6e13 (patch)
treee159452a8126984d2ad9b0ad30a7cc5be4dec806 /nixos/modules/services/security/oauth2_proxy.nix
parentb02b224027320d6e33483647538af9f4bd96dea5 (diff)
downloadnixpkgs-5b530d4568158d9ac99ad70cd9684d7f263a6e13.tar
nixpkgs-5b530d4568158d9ac99ad70cd9684d7f263a6e13.tar.gz
nixpkgs-5b530d4568158d9ac99ad70cd9684d7f263a6e13.tar.bz2
nixpkgs-5b530d4568158d9ac99ad70cd9684d7f263a6e13.tar.lz
nixpkgs-5b530d4568158d9ac99ad70cd9684d7f263a6e13.tar.xz
nixpkgs-5b530d4568158d9ac99ad70cd9684d7f263a6e13.tar.zst
nixpkgs-5b530d4568158d9ac99ad70cd9684d7f263a6e13.zip
oauth2_proxy: default address updated
Go will fail to parse this otherwise.
https://github.com/golang/go/issues/19297
Diffstat (limited to 'nixos/modules/services/security/oauth2_proxy.nix')
-rw-r--r--nixos/modules/services/security/oauth2_proxy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/security/oauth2_proxy.nix b/nixos/modules/services/security/oauth2_proxy.nix
index 3e5087766b1..ef48d52e7a9 100644
--- a/nixos/modules/services/security/oauth2_proxy.nix
+++ b/nixos/modules/services/security/oauth2_proxy.nix
@@ -385,7 +385,7 @@ in
 
     httpAddress = mkOption {
       type = types.str;
-      default = "127.0.0.1:4180";
+      default = "http://127.0.0.1:4180";
       description = ''
         HTTPS listening address.  This module does not expose the port by
         default. If you want this URL to be accessible to other machines, please