add runner and remove giugl.io from nginx

This commit is contained in:
Giulio De Pasquale 2021-11-25 12:25:57 +01:00
parent 9cd3f738e3
commit f16d56e8be
2 changed files with 27 additions and 22 deletions

View File

@ -7,4 +7,9 @@
tokenFile = "/secrets/github-runner/token"; tokenFile = "/secrets/github-runner/token";
replace = true; replace = true;
}; };
nix.extraOptions = ''
tarball-ttl = 0
access-tokens = github.com=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
'';
} }

View File

@ -8,28 +8,28 @@
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts."giugl.io" = { # virtualHosts."giugl.io" = {
default = true; # default = true;
enableACME = true; # enableACME = true;
addSSL = true; # addSSL = true;
root = "/var/lib/nginx/error_pages"; # root = "/var/lib/nginx/error_pages";
extraConfig = "error_page 404 /index.htm;"; # extraConfig = "error_page 404 /index.htm;";
#
locations = { # locations = {
"/" = { # "/" = {
return = "404"; # return = "404";
}; # };
#
"/index.htm" = { # "/index.htm" = {
}; # };
#
"/style.css" = { # "/style.css" = {
}; # };
#
"/wat.jpg" = { # "/wat.jpg" = {
}; # };
}; # };
}; # };
}; };
users.groups.acme.members = [ "nginx" ]; users.groups.acme.members = [ "nginx" ];