fix certs
This commit is contained in:
parent
16910ee379
commit
f7ab003036
2 changed files with 7 additions and 3 deletions
|
|
@ -34,9 +34,12 @@ in {
|
|||
};
|
||||
virtualHosts."eink.${host}" = {
|
||||
forceSSL = true;
|
||||
sslCertificateKey = "/etc/nginx/certs/ca.key";
|
||||
sslCertificate = "/etc/nginx/certs/ca.crt";
|
||||
extraConfig = "ssl_client_certificate /etc/nginx/certs/client.crt;";
|
||||
# sslCertificateKey = "/etc/nginx/certs/ca.key";
|
||||
# sslCertificate = "/etc/nginx/certs/ca.crt";
|
||||
extraConfig = '''
|
||||
ssl_client_certificate /etc/nginx/certs/client.crt;
|
||||
ssl_verify_client on;
|
||||
''';
|
||||
locations."/" = {
|
||||
# TODO fastcgi to the script
|
||||
extraConfig = "return 200 'handshake worked !!!';";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue