Compare commits

..
2 changed files with 2 additions and 5 deletions

View file

@ -77,9 +77,6 @@ in
autoindex on; autoindex on;
''; '';
}; };
"/all.ics" = {
return = "301 https://www.berlin.ccc.de/calendars/all.ics";
};
"~ ^/calendars/([^/]+\.ics)$" = { "~ ^/calendars/([^/]+\.ics)$" = {
alias = "/srv/http/calendars/$1"; alias = "/srv/http/calendars/$1";
extraConfig = '' extraConfig = ''

View file

@ -8,8 +8,8 @@
isSystemUser = true; isSystemUser = true;
group = "deploy"; group = "deploy";
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"command=\"${pkgs.rsync}/bin/rsync --server -vlogDtpre.iLsfxCIvu --delete-after . /srv/http/www/\",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM35LG+xuDaoHQ2bYD4eRc3P6Cl3JVYntoP5Gu9R+mZC deploy@www.berlin.ccc.de production" "command=\"${pkgs.rsync}/bin/rsync --server -vlogDtpre.iLsfxCIvu . /srv/http/www/\",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM35LG+xuDaoHQ2bYD4eRc3P6Cl3JVYntoP5Gu9R+mZC deploy@www.berlin.ccc.de production"
"command=\"${pkgs.rsync}/bin/rsync --server -vlogDtpre.iLsfxCIvu --delete-after . /srv/http/www-staging/\",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKjjLtnGf7w5D/ON+P2HpMZ5HA2fWp5YSQMGMuu5CjUt deploy@www.berlin.ccc.de staging" "command=\"${pkgs.rsync}/bin/rsync --server -vlogDtpre.iLsfxCIvu . /srv/http/www-staging/\",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKjjLtnGf7w5D/ON+P2HpMZ5HA2fWp5YSQMGMuu5CjUt deploy@www.berlin.ccc.de staging"
]; ];
}; };
groups.deploy = { }; groups.deploy = { };