diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-07-28 23:48:45 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-07-28 23:48:45 -0600 |
| commit | 70edda5c0cd44a6e6976d24266b7c2017fd5aa6e (patch) | |
| tree | ba5ed90ead4ea2818439067f58f1d64d6f0be145 /sys/web | |
| parent | 21c1af9d5c2a14dafb174b2c0ace97f871536e97 (diff) | |
sys/web/sites/home: disable client cert requirement
Diffstat (limited to '')
| -rw-r--r-- | sys/web/sites/home.nix | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sys/web/sites/home.nix b/sys/web/sites/home.nix index 74f698c..616bf94 100644 --- a/sys/web/sites/home.nix +++ b/sys/web/sites/home.nix @@ -22,18 +22,13 @@ in forceSSL = true; useACMEHost = domains.home.main; - extraConfig = '' - ssl_verify_depth 2; - ssl_verify_client on; - ssl_client_certificate ${config.local.pki.ca.home.fullchain}; - - if ($ssl_client_verify != "SUCCESS") { - return 403; - } - ''; - locations."/".extraConfig = '' proxy_pass ${cfg.proxyUrl}; + proxy_redirect http:// https://; + + # Necesario debido a websockets + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; ''; }; }; |
