diff options
author | lassulus <lassulus@lassul.us> | 2020-01-11 20:49:10 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-01-11 20:49:10 +0100 |
commit | ded0441e2582bd511ae2bdf45cbca8b0f4ae1796 (patch) | |
tree | eae652ca3879fa79d34c118a6ee8c7600963d4eb /lass/2configs/paste.nix | |
parent | e0fb96d07276cba145f8a415d8a641d00d7e19a3 (diff) |
l paste: add ssl support for p.krebsco.de
Diffstat (limited to 'lass/2configs/paste.nix')
-rw-r--r-- | lass/2configs/paste.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lass/2configs/paste.nix b/lass/2configs/paste.nix index 3c3d8e636..23cab8e6e 100644 --- a/lass/2configs/paste.nix +++ b/lass/2configs/paste.nix @@ -10,7 +10,9 @@ with import <stockholm/lib>; proxy_pass http://localhost:9081; ''; }; - services.nginx.virtualHosts.paste-readonly = { + services.nginx.virtualHosts."p.krebsco.de" = { + enableACME = true; + addSSL = true; serverAliases = [ "p.krebsco.de" ]; locations."/".extraConfig = '' if ($request_method != GET) { |