Add webserver service
This commit is contained in:
parent
98cf95a922
commit
40002ac76e
4 changed files with 170 additions and 4 deletions
configuration
|
@ -1,7 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./services/gitea.nix ./services/nextcloud.nix ];
|
||||
imports =
|
||||
[ ./services/gitea.nix ./services/nextcloud.nix ./services/webserver.nix ];
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
|
@ -53,6 +54,7 @@
|
|||
locations."/" = { proxyPass = "http://localhost:${toString port}"; };
|
||||
} // extra;
|
||||
in {
|
||||
"tlater.net" = host 3002 { serverAliases = [ "www.tlater.net" ]; };
|
||||
"gitea.tlater.net" = host 3000 { };
|
||||
"nextcloud.tlater.net" = host 3001 { };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue