Update configuration.nix
deploy config / Explore-Gitea-Actions (push) Successful in 6s
Details
deploy config / Explore-Gitea-Actions (push) Successful in 6s
Details
This commit is contained in:
parent
d340b40291
commit
ee695913bb
|
|
@ -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?
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue