fix cshub

This commit is contained in:
Vivian 2023-05-03 16:52:43 +02:00
parent 310918d409
commit 36d39dc8de
5 changed files with 34 additions and 76 deletions

View file

@ -42,12 +42,9 @@
# Setup packages available everywhere
environment.systemPackages = with pkgs; [
cmatrix
fzf
git
helix
htop
lolcat
ncdu
psmisc
ripgrep

View file

@ -10,4 +10,4 @@
extraGroups = [ ];
};
}
}

View file

@ -28,6 +28,7 @@ in {
security.acme.acceptTerms = true;
security.acme.preliminarySelfsigned = true;
services.nginx = {
enable = true;
recommendedProxySettings = true;
@ -39,6 +40,8 @@ in {
package = pkgs.nginxMainline;
virtualHosts."cshub.nl" = proxy "http://192.168.0.113";
virtualHosts."api.cshub.nl" = proxy "http://192.168.0.113";
virtualHosts."ha.xirion.net" = proxy "http://192.168.0.129:8123";
virtualHosts."xirion.net" = {
enableACME = true;