asd
This commit is contained in:
parent
b65b237765
commit
ed0695b1ed
@ -4,7 +4,7 @@ include = []
|
|||||||
|
|
||||||
[pull]
|
[pull]
|
||||||
exclude = ["*"]
|
exclude = ["*"]
|
||||||
include = [ ".sops.yaml" ]
|
include = []
|
||||||
|
|
||||||
[both]
|
[both]
|
||||||
exclude = [
|
exclude = [
|
||||||
|
@ -67,6 +67,9 @@ in
|
|||||||
IF=""
|
IF=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# shellcheck disable=SC2086
|
||||||
|
echo + curl $IF api.domeneshop.no...
|
||||||
|
|
||||||
${lib.concatMapStringsSep "\n" (target: ''
|
${lib.concatMapStringsSep "\n" (target: ''
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
curl $IF https://"$DOMENESHOP_TOKEN":"$DOMENESHOP_SECRET"@api.domeneshop.no/v0/dyndns/update?hostname="${target}"
|
curl $IF https://"$DOMENESHOP_TOKEN":"$DOMENESHOP_SECRET"@api.domeneshop.no/v0/dyndns/update?hostname="${target}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ config, pkgs, lib, mkDomain, ... }:
|
{ config, pkgs, lib, mkDomain, ... }:
|
||||||
{
|
{
|
||||||
services.nginx.virtualHosts.${"kuklef.se"} = {
|
services.nginx.virtualHosts."kuklef.se" = {
|
||||||
forceSSL = true; # addSSL = true;
|
forceSSL = true; # addSSL = true;
|
||||||
enableACME = true; #useACMEHost = acmeDomain;
|
enableACME = true; #useACMEHost = acmeDomain;
|
||||||
root = pkgs.writeTextDir "index.html" ''
|
root = pkgs.writeTextDir "index.html" ''
|
||||||
|
Loading…
Reference in New Issue
Block a user