This commit is contained in:
Stuce 2025-11-13 17:12:34 +01:00
parent f7ab003036
commit 7952e5c101

View file

@ -36,10 +36,10 @@ in {
forceSSL = true; forceSSL = true;
# sslCertificateKey = "/etc/nginx/certs/ca.key"; # sslCertificateKey = "/etc/nginx/certs/ca.key";
# sslCertificate = "/etc/nginx/certs/ca.crt"; # sslCertificate = "/etc/nginx/certs/ca.crt";
extraConfig = ''' extraConfig = ''
ssl_client_certificate /etc/nginx/certs/client.crt; ssl_client_certificate /etc/nginx/certs/client.crt;
ssl_verify_client on; ssl_verify_client on;
'''; '';
locations."/" = { locations."/" = {
# TODO fastcgi to the script # TODO fastcgi to the script
extraConfig = "return 200 'handshake worked !!!';"; extraConfig = "return 200 'handshake worked !!!';";