Update configuration.nix
deploy config / Explore-Gitea-Actions (push) Successful in 6s Details

This commit is contained in:
Tom 2024-08-08 13:07:49 +02:00
parent d340b40291
commit ee695913bb
1 changed files with 17 additions and 17 deletions

View File

@ -18,6 +18,8 @@
networking = {
hostName = "nginx";
networkmanager.enable = true;
firewall.allowedTCPPorts = [ 80 443 ];
# firewall.allowedUDPPorts = [ ... ];
};
# Set your time zone.
@ -66,18 +68,20 @@
];
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
settings.PermitRootLogin = "without-password";
};
services.nginx = {
enable = true;
virtualHosts = {
"git.blubb.fish" = {
addSSL = true;
enableACME = true;
locations."/".proxyPass = "http://10.0.0.24:3000/";
services = {
openssh = {
enable = true;
# settings.PermitRootLogin = "without-password";
};
qemuGuest.enable = true;
nginx = {
enable = true;
virtualHosts = {
"git.blubb.fish" = {
addSSL = true;
enableACME = true;
locations."/".proxyPass = "http://10.0.0.24:3000/";
};
};
};
};
@ -87,11 +91,7 @@
defaults.email = "gentoo@blubb.fish";
};
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 80 443 ];
# networking.firewall.allowedUDPPorts = [ ... ];
# leave installation default
system.stateVersion = "24.05"; # Did you read the comment?
}
}