commit 9ead660edc2a942013538fcf40fae3edf3de558d parent 2460a8a5df461cdefba6053efbd0c6a45f2585f3 Author: MTRNord <mtrnord1@gmail.com> Date: Wed, 23 Aug 2023 13:07:32 +0200 Move headscale vhost to right part of config Diffstat:
| M | nixos/worker-1/configuration.nix | | | 19 | +++++++++---------- |
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -442,16 +442,6 @@ }; settings = { logtail.enabled = false; }; }; - - nginx.virtualHosts."headscale.midnightthoughts.space" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = - "http://localhost:${toString config.services.headscale.port}"; - proxyWebsockets = true; - }; - }; }; environment.persistence."/persist" = { @@ -675,6 +665,15 @@ proxyPass = "http://asterisk_webrtc_ws/metrics"; }; }; + "headscale.midnightthoughts.space" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = + "http://localhost:${toString config.services.headscale.port}"; + proxyWebsockets = true; + }; + }; }; };