diff options
-rw-r--r-- | deployment/systems/aisaka.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/deployment/systems/aisaka.scm b/deployment/systems/aisaka.scm index 01d46e8..4f76ca3 100644 --- a/deployment/systems/aisaka.scm +++ b/deployment/systems/aisaka.scm @@ -404,10 +404,16 @@ (listen (list "192.168.10.2:443 ssl")) (root "/home/marek/Publiczne/www") (server-name (list "www.marekpasnikowski.pl"))) + ;; Test (gnu:services:web:nginx-server-configuration + (locations (list (gnu:services:web:nginx-location-configuration + (body (list "if ($ssl_client_verify != SUCCESS) {return 403;}")) + (uri "/")))) (listen (list "192.168.10.2:443 ssl")) (root "/home/marek/Publiczne/test") - (server-name (list "test.marekpasnikowski.pl"))) + (server-name (list "test.marekpasnikowski.pl")) + (raw-content (list "ssl_client_certificate /home/marek/CA/intermediate-authority.cert.pem;" + "ssl_verify_client optional;"))) ;; Radicale ((@ (gnu services web) nginx-server-configuration) (locations |