profiles/wayf: further wip work

Signed-off-by: Ryan Lahfa <federez-infra@lahfa.xyz>
This commit is contained in:
Ryan Lahfa 2024-08-08 16:33:53 +02:00 committed by Jeltz
parent 3b6c3f6d70
commit c3844094b2
Signed by: jeltz
GPG key ID: 800882B66C0C3326
2 changed files with 7 additions and 6 deletions

View file

@ -31,7 +31,6 @@ in
fastcgi_pass unix:${config.services.phpfpm.pools.switchwayf.socket};
include ${config.services.nginx.package}/conf/fastcgi.conf;
include ${config.services.nginx.package}/conf/fastcgi_params;
'';
};
# locations."~ /wayf/\\.php".extraConfig = ''
@ -72,8 +71,9 @@ in
metadataIDPFile = "/var/lib/switchwayf/IDProvider.metadata.conf.php";
metadataSPFile = "/var/lib/switchwayf/SProvider.metadata.conf.php";
WAYFLogFile = "/var/log/switchwayf/wayf.log";
#SWITCHWAYF_CONFIG = pkgs.writeText "switch_config.php"
# (builtins.readFile ./switch-config.php);
SWITCHWAYF_CONFIG = "/etc/config.php";
# SWITCHWAYF_CONFIG = pkgs.writeText "switch_config.php"
# (builtins.readFile ./switch-config.php);
};
};
}