more server stuff
This commit is contained in:
parent
0d08c32077
commit
bc5f851d3f
5 changed files with 63 additions and 11 deletions
13
system/web-server/fundkorb-button.nix
Normal file
13
system/web-server/fundkorb-button.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.nginx.virtualHosts."fundkorb.ktiu.net" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www/fundkorb-button/html";
|
||||
location."/" = {
|
||||
basicAuth = "Fundkorb build trigger";
|
||||
basicAuthFile = "/var/www/fundkorb-button/.htpasswd";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue