From 76eb5099fe287d22e95cc7447c2223c470ce1b58 Mon Sep 17 00:00:00 2001 From: myve Date: Thu, 3 Sep 2026 21:21:40 +0000 Subject: [PATCH] Fix indentation for nginx hook on homelab.sh --- homelab.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/homelab.sh b/homelab.sh index c29aec0..cb4ca4d 100755 --- a/homelab.sh +++ b/homelab.sh @@ -1751,14 +1751,14 @@ install /dev/stdin /opt/local/hooks/nginx <<- 'hook' if [ -f /etc/nginx/nginx.conf.pacnew ] then sed '/^http {/a\ - include http_redirect;\n\ - include conf.d/\*.conf;\ - include local.conf.d/\*.conf;\n\ - types_hash_max_size 4096;\ - server_names_hash_bucket_size 128;\n\ - proxy_headers_hash_max_size 1024;\ - proxy_headers_hash_bucket_size 128;\n' \ - -i /etc/nginx/nginx.conf.pacnew + include http_redirect;\n\ + include conf.d/\*.conf;\ + include local.conf.d/\*.conf;\n\ + types_hash_max_size 4096;\ + server_names_hash_bucket_size 128;\n\ + proxy_headers_hash_max_size 1024;\ + proxy_headers_hash_bucket_size 128;\n' \ + -i /etc/nginx/nginx.conf.pacnew mv /etc/nginx/nginx.conf.pacnew /etc/nginx/nginx.conf nginx -s reload fi