Redirect all URLs to new domain
This commit is contained in:
@@ -37,20 +37,31 @@ in
|
||||
services.inadyn = {
|
||||
enable = true;
|
||||
interval = "*:0/30";
|
||||
settings = {
|
||||
provider."duckdns" = {
|
||||
hostname = "coolneng.duckdns.org";
|
||||
include = config.age.secrets.inadyn-duckdns.path;
|
||||
};
|
||||
custom."porkbun.com" = {
|
||||
ddns-server = "dynamicdns.park-your-domain.com";
|
||||
ddns-path = "/update?domain=%u&password=%p&host=%h";
|
||||
hostname = "psydnd.org";
|
||||
include = config.age.secrets.inadyn-porkbun.path;
|
||||
};
|
||||
settings.provider."duckdns" = {
|
||||
hostname = "coolneng.duckdns.org";
|
||||
include = config.age.secrets.inadyn-duckdns.path;
|
||||
};
|
||||
};
|
||||
|
||||
# Dynamic DNS configuration for Porkbun
|
||||
# NOTE Temporary workaround until Inadyn fixes the Porkbun module
|
||||
services.oink = {
|
||||
enable = true;
|
||||
settings = {
|
||||
apiKey = "PLACEHOLDER";
|
||||
secretApiKey = "PLACEHOLDER";
|
||||
interval = 1800;
|
||||
};
|
||||
domains = [
|
||||
{
|
||||
domain = "psydnd.org";
|
||||
subdomain = "";
|
||||
}
|
||||
];
|
||||
};
|
||||
# NOTE Load credentials using environment variables
|
||||
systemd.services.oink.serviceConfig.EnvironmentFile = config.age.secrets.inadyn-porkbun.path;
|
||||
|
||||
# Firewall configuration
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
|
||||
Reference in New Issue
Block a user