Openssh and nginx
deploy config / Explore-Gitea-Actions (push) Failing after 12s Details

This commit is contained in:
Tom 2024-08-07 21:54:03 +02:00
parent e1d9595597
commit 8c84a76f6e
1 changed files with 13 additions and 6 deletions

View File

@ -63,6 +63,7 @@
curl
git
nginx
acme
];
# Some programs need SUID wrappers, can be configured further or are
@ -76,14 +77,20 @@
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.nginx.enable = true;
services.openssh = {
enable = true;
settings.PermitRootLogin = "without-password";
};
# services.nginx.enable = false;
services.nginx.virtualHosts."git.blubb.fish" = {
services.nginx = {
enable = false;
virtualHosts."git.blubb.fish" = {
addSSL = true;
enableACME = true;
locations."/".proxyPass = "http://10.0.0.24:3000/";
};
};
security.acme = {
acceptTerms = true;
defaults.email = "gentoo@blubb.fish";