mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Shorten the subdomains of hosted services
This commit is contained in:
parent
18bbe1fd27
commit
4db060800b
6 changed files with 50 additions and 24 deletions
|
|
@ -1,3 +1,6 @@
|
|||
let
|
||||
subdomain = "cloud";
|
||||
in
|
||||
{
|
||||
containers.nextcloud.config =
|
||||
{
|
||||
|
|
@ -41,6 +44,7 @@
|
|||
https = true;
|
||||
settings = {
|
||||
overwriteProtocol = "https";
|
||||
trusted_domains = [ "${subdomain}.${config.networking.domain}" ];
|
||||
trusted_proxies = [ "127.0.0.1" ];
|
||||
log_type = "file";
|
||||
default_phone_region = "DE";
|
||||
|
|
@ -87,6 +91,9 @@
|
|||
|
||||
environment.systemPackages = [ pkgs.ffmpeg ];
|
||||
|
||||
myConfig.tailscale.serve = "80";
|
||||
myConfig.tailscale = {
|
||||
inherit subdomain;
|
||||
serve = "80";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue