summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-01-11 20:49:10 +0100
committerlassulus <lassulus@lassul.us>2020-01-11 20:49:10 +0100
commitded0441e2582bd511ae2bdf45cbca8b0f4ae1796 (patch)
treeeae652ca3879fa79d34c118a6ee8c7600963d4eb /lass/2configs
parente0fb96d07276cba145f8a415d8a641d00d7e19a3 (diff)
l paste: add ssl support for p.krebsco.de
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/paste.nix4
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) {