diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-04-10 15:38:28 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-04-10 15:39:37 +0200 |
commit | f1f90202241d361e33f271c4e910e1ea20d99eaa (patch) | |
tree | 035f3ac9d3d06fe7572cdc9ee3a235fbd8629f6f /nixos | |
parent | a78ce1d4c6d9f39f591d420547291d5f36cc8b27 (diff) |
crowd service: fix secure sso cookies
Crowd didn't detect a secure connection before.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/atlassian/crowd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/atlassian/crowd.nix b/nixos/modules/services/web-apps/atlassian/crowd.nix index 7ff7dc4e5748..ce41aa4f1e18 100644 --- a/nixos/modules/services/web-apps/atlassian/crowd.nix +++ b/nixos/modules/services/web-apps/atlassian/crowd.nix @@ -137,7 +137,7 @@ in sed -e 's,port="8095",port="${toString cfg.listenPort}" address="${cfg.listenAddress}",' \ '' + (lib.optionalString cfg.proxy.enable '' - -e 's,compression="on",compression="off" protocol="HTTP/1.1" proxyName="${cfg.proxy.name}" proxyPort="${toString cfg.proxy.port}" scheme="${cfg.proxy.scheme}" secure="${toString cfg.proxy.secure}",' \ + -e 's,compression="on",compression="off" protocol="HTTP/1.1" proxyName="${cfg.proxy.name}" proxyPort="${toString cfg.proxy.port}" scheme="${cfg.proxy.scheme}" secure="${if cfg.proxy.secure then "true" else "false"}",' \ '') + '' ${pkg}/apache-tomcat/conf/server.xml.dist > ${cfg.home}/server.xml ''; |