diff options
Diffstat (limited to 'modules/nixfiles/gotify.nix')
-rw-r--r-- | modules/nixfiles/gotify.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/nixfiles/gotify.nix b/modules/nixfiles/gotify.nix index 1cfd9a7..8489e93 100644 --- a/modules/nixfiles/gotify.nix +++ b/modules/nixfiles/gotify.nix @@ -27,11 +27,7 @@ in { virtualHosts.${cfg.domain}.locations."/" = { proxyPass = "http://gotify"; proxyWebsockets = true; - extraConfig = '' - if ($internal != 1) { - return 403; - } - ''; + extraConfig = nginxInternalOnly; }; }; postgresql.enable = true; |