From c44966d91f83734e29e6d13c93f62999621cced7 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Tue, 24 May 2022 18:46:48 +0200 Subject: add sf com --- nix/nixops/comet/configuration.nix | 12 ++++++++++++ nix/shell.nix | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/nix/nixops/comet/configuration.nix b/nix/nixops/comet/configuration.nix index fcef47a..7fc401d 100644 --- a/nix/nixops/comet/configuration.nix +++ b/nix/nixops/comet/configuration.nix @@ -83,6 +83,18 @@ in globalRedirect = "www.idziorek.net"; }; + services.nginx.virtualHosts."www.softwarefools.com" = { + forceSSL = true; + enableACME = true; + root = "/var/www/www.softwarefools.com"; + }; + + services.nginx.virtualHosts."softwarefools.com" = { + forceSSL = true; + enableACME = true; + globalRedirect = "www.softwarefools.com"; + }; + # GITWEB services.gitweb.projectroot = "/var/lib/gitolite/repositories"; services.gitweb.gitwebTheme = true; diff --git a/nix/shell.nix b/nix/shell.nix index b4d0142..0bda684 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -19,5 +19,5 @@ let packs = [ ]; in mkShell { # nativeBuildInputs is usually what you want -- tools you need to run - nativeBuildInputs = packs; /* -- [ nixopsUnstable nixos-generators ] */ + nativeBuildInputs = packs; /* -- [ nixopsUnstable nixos-generators ] */ } -- cgit v1.2.3