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