rebase idp
Eval nix flake / evals (push) Failing after 1m47s
Details
Eval nix flake / evals (push) Failing after 1m47s
Details
This commit is contained in:
parent
ad0c13269e
commit
8c1ae95e53
|
@ -75,17 +75,20 @@ in
|
||||||
services.nginx.virtualHosts."idp2.pvv.ntnu.no" = {
|
services.nginx.virtualHosts."idp2.pvv.ntnu.no" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
root = "${package}/share/php/simplesamlphp";
|
root = "${package}/share/php/simplesamlphp/public";
|
||||||
locations = {
|
locations = {
|
||||||
"/".index = "index.php";
|
"/".index = "index.php";
|
||||||
|
|
||||||
|
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
"~ /(.+\\.php)" = {
|
"~ /(.+\\.php)" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_pass unix:${config.services.phpfpm.pools.idp.socket};
|
fastcgi_pass unix:${config.services.phpfpm.pools.idp.socket};
|
||||||
include ${pkgs.nginx}/conf/fastcgi_params;
|
include ${pkgs.nginx}/conf/fastcgi_params;
|
||||||
include ${pkgs.nginx}/conf/fastcgi.conf;
|
include ${pkgs.nginx}/conf/fastcgi.conf;
|
||||||
|
|
||||||
|
fastcgi_param SCRIPT_FILENAME ${package}/share/php/simplesamlphp/public/$request_filename;
|
||||||
|
fastcgi_param SCRIPT_NAME $request_filename;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue