summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/nginx.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
committermakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
commit060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch)
tree2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/2configs/home/ham/nginx.nix
parentcbfcc890e3b76d942b927809bf981a5fa7289e6a (diff)
makefu: move out to own repo, add vacation-note
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;
- }
- '';
- };
-}