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";
replace = true;
};
nix.extraOptions = ''
tarball-ttl = 0
access-tokens = github.com=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
'';
}

View File

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