crowd service: fix secure sso cookies
Crowd didn't detect a secure connection before.
This commit is contained in:
parent
a78ce1d4c6
commit
f1f9020224
@ -137,7 +137,7 @@ in
|
|||||||
|
|
||||||
sed -e 's,port="8095",port="${toString cfg.listenPort}" address="${cfg.listenAddress}",' \
|
sed -e 's,port="8095",port="${toString cfg.listenPort}" address="${cfg.listenAddress}",' \
|
||||||
'' + (lib.optionalString cfg.proxy.enable ''
|
'' + (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
|
${pkg}/apache-tomcat/conf/server.xml.dist > ${cfg.home}/server.xml
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user