summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/nginx.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/home/ham/nginx.nix')
-rw-r--r--makefu/2configs/home/ham/nginx.nix15
1 files changed, 0 insertions, 15 deletions
diff --git a/makefu/2configs/home/ham/nginx.nix b/makefu/2configs/home/ham/nginx.nix
deleted file mode 100644
index cd99c0739..000000000
--- a/makefu/2configs/home/ham/nginx.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-let
- internal-ip = "192.168.111.11";
-in {
- services.nginx.recommendedProxySettings = true;
- services.nginx.virtualHosts."hass" = {
- serverAliases = [ "hass.lan" "ha" "ha.lan" ];
- locations."/".proxyPass = "http://localhost:8123";
- locations."/".proxyWebsockets = true;
- extraConfig = ''
- if ( $server_addr != "${internal-ip}" ) {
- return 403;
- }
- '';
- };
-}