Change settings for new git server

This commit is contained in:
Trevor Vallender 2023-09-27 14:49:16 +01:00
parent 70a82db612
commit 8f228ed357
5 changed files with 9 additions and 4 deletions

View File

@ -5,7 +5,6 @@
imports =
[
../shared/shared-configuration.nix
../shared/services/mopidy.nix
./eno-hardware.nix
];

View File

@ -7,7 +7,7 @@
../shared/shared-configuration.nix
./kernighan-hardware.nix
../shared/services/syncthing.nix
#./services/git.nix
../shared/services/git.nix
../shared/services/nginx.nix
];

View File

@ -18,7 +18,6 @@ in
../shared/desktop.nix
./ritchie-hardware.nix
../shared/filesystem.nix
../shared/services/mopidy.nix
];
networking = {

View File

@ -16,6 +16,13 @@
proxyPass = "http://127.0.0.1:8384";
};
};
virtualHosts."git.tsvallender.co.uk" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8384";
};
};
};
security.acme = {
acceptTerms = true;

View File

@ -14,7 +14,7 @@ Host kernighan
Host git.tsvallender.co.uk
HostName git.tsvallender.co.uk
IdentityFile /home/tsv/.ssh/personal
Port 222
Port 2222
User tsv
IdentitiesOnly yes