.
This commit is contained in:
parent
f7ab003036
commit
7952e5c101
1 changed files with 2 additions and 2 deletions
|
|
@ -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 !!!';";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue