about summary refs log blame commit diff
path: root/users/sterni/machines/edwin/http/sterni.lv.nix
blob: 44306c75bf645ea5c942927af15815202e6bec07 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                   
{ ... }:

{
  imports = [
    ./nginx.nix
  ];

  config = {
    services.nginx.virtualHosts."sterni.lv" = {
      enableACME = true;
      forceSSL = true;
      # TODO(sterni): take website from store, replace /tmp with a simple LRU thing
      root = toString /srv/http;
    };
  };
}