Replace .local with .internal as ICANN suggests that
This commit is contained in:
parent
b1b48cb177
commit
e60aa51769
3 changed files with 21 additions and 21 deletions
20
caddy.nix
20
caddy.nix
|
@ -76,43 +76,43 @@ in
|
||||||
"forge.catnip.ee".extraConfig = ''
|
"forge.catnip.ee".extraConfig = ''
|
||||||
reverse_proxy :${toString settings.ports.forgejo}
|
reverse_proxy :${toString settings.ports.forgejo}
|
||||||
'';
|
'';
|
||||||
"http://epic.local".extraConfig = ''
|
"http://epic.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.epicgames-freegames-node}
|
reverse_proxy @local :${toString settings.ports.epicgames-freegames-node}
|
||||||
'';
|
'';
|
||||||
"http://bazarr.local".extraConfig = ''
|
"http://bazarr.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.bazarr}
|
reverse_proxy @local :${toString settings.ports.bazarr}
|
||||||
'';
|
'';
|
||||||
"http://archive.local".extraConfig = ''
|
"http://archive.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.archivebox}
|
reverse_proxy @local :${toString settings.ports.archivebox}
|
||||||
'';
|
'';
|
||||||
"http://scrutiny.local".extraConfig = ''
|
"http://scrutiny.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.scrutiny}
|
reverse_proxy @local :${toString settings.ports.scrutiny}
|
||||||
'';
|
'';
|
||||||
"http://prowlarr.local".extraConfig = ''
|
"http://prowlarr.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.prowlarr}
|
reverse_proxy @local :${toString settings.ports.prowlarr}
|
||||||
'';
|
'';
|
||||||
"http://radarr.local".extraConfig = ''
|
"http://radarr.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.radarr}
|
reverse_proxy @local :${toString settings.ports.radarr}
|
||||||
'';
|
'';
|
||||||
"http://sonarr.local".extraConfig = ''
|
"http://sonarr.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.sonarr}
|
reverse_proxy @local :${toString settings.ports.sonarr}
|
||||||
'';
|
'';
|
||||||
"http://lidarr.local".extraConfig = ''
|
"http://lidarr.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.lidarr}
|
reverse_proxy @local :${toString settings.ports.lidarr}
|
||||||
'';
|
'';
|
||||||
"http://qbittorrent.local".extraConfig = ''
|
"http://qbittorrent.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
reverse_proxy @local :${toString settings.ports.qbittorrent}
|
reverse_proxy @local :${toString settings.ports.qbittorrent}
|
||||||
'';
|
'';
|
||||||
"http://files.local".extraConfig = ''
|
"http://files.internal".extraConfig = ''
|
||||||
@local remote_ip private_ranges 100.64.0.0/10
|
@local remote_ip private_ranges 100.64.0.0/10
|
||||||
root * /mnt/media
|
root * /mnt/media
|
||||||
file_server @local browse {
|
file_server @local browse {
|
||||||
|
|
|
@ -475,17 +475,17 @@
|
||||||
{
|
{
|
||||||
mapping = localDomains [
|
mapping = localDomains [
|
||||||
"catnip.ee"
|
"catnip.ee"
|
||||||
"files.local"
|
"files.internal"
|
||||||
"qbittorrent.local"
|
"qbittorrent.internal"
|
||||||
"scrutiny.local"
|
"scrutiny.internal"
|
||||||
"archive.local"
|
"archive.internal"
|
||||||
"epic.local"
|
"epic.internal"
|
||||||
|
|
||||||
"sonarr.local"
|
"sonarr.internal"
|
||||||
"radarr.local"
|
"radarr.internal"
|
||||||
"prowlarr.local"
|
"prowlarr.internal"
|
||||||
"bazarr.local"
|
"bazarr.internal"
|
||||||
"lidarr.local"
|
"lidarr.internal"
|
||||||
] "100.93.150.89";
|
] "100.93.150.89";
|
||||||
};
|
};
|
||||||
conditional =
|
conditional =
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"${settings.server_configs_home}/epicgames-freegames-node:/usr/app/config"
|
"${settings.server_configs_home}/epicgames-freegames-node:/usr/app/config"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
BASE_URL = "http://epic.local";
|
BASE_URL = "http://epic.internal";
|
||||||
RUN_ON_STARTUP = "true";
|
RUN_ON_STARTUP = "true";
|
||||||
NTFY_PRIORITY = "urgent";
|
NTFY_PRIORITY = "urgent";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue