mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(exports): service access
This commit is contained in:
parent
91918b8061
commit
871b1c5b2d
69 changed files with 1317 additions and 509 deletions
|
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
access,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkMerge mkDefault;
|
||||
inherit (lib.modules) mkDefault;
|
||||
inherit (lib.strings) escapeRegex;
|
||||
inherit (config.services) nginx tailscale;
|
||||
proxyPass = "https://reisen.local.${config.networking.domain}:8006/";
|
||||
proxyPass = access.proxyUrlFor { serviceName = "proxmox"; } + "/";
|
||||
in {
|
||||
config.services.nginx.virtualHosts = let
|
||||
locations."/" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue