mail working
This commit is contained in:
parent
bc5f851d3f
commit
99394cb573
8 changed files with 204 additions and 73 deletions
|
|
@ -1,11 +1,15 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
security.acme.certs."${config.networking.domain}".extraDomainNames = [
|
||||
"fundkorb.ktiu.net"
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts."fundkorb.ktiu.net" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
onlySSL = true;
|
||||
useACMEHost = config.networking.domain;
|
||||
root = "/var/www/fundkorb-button/html";
|
||||
location."/" = {
|
||||
locations."/" = {
|
||||
basicAuth = "Fundkorb build trigger";
|
||||
basicAuthFile = "/var/www/fundkorb-button/.htpasswd";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue