diff --git a/nginx.nix b/nginx.nix index 24121ab..6f12e4d 100644 --- a/nginx.nix +++ b/nginx.nix @@ -36,10 +36,10 @@ in { forceSSL = true; # sslCertificateKey = "/etc/nginx/certs/ca.key"; # sslCertificate = "/etc/nginx/certs/ca.crt"; - extraConfig = ''' + extraConfig = '' ssl_client_certificate /etc/nginx/certs/client.crt; ssl_verify_client on; - '''; + ''; locations."/" = { # TODO fastcgi to the script extraConfig = "return 200 'handshake worked !!!';";