mirror of
https://git.myvelabs.com/lab/archlinux.git
synced 2026-09-04 11:32:10 -05:00
Fix indentation for nginx hook on homelab.sh
This commit is contained in:
parent
f50a09d40b
commit
76eb5099fe
1 changed files with 8 additions and 8 deletions
16
homelab.sh
16
homelab.sh
|
|
@ -1751,14 +1751,14 @@ install /dev/stdin /opt/local/hooks/nginx <<- 'hook'
|
||||||
if [ -f /etc/nginx/nginx.conf.pacnew ]
|
if [ -f /etc/nginx/nginx.conf.pacnew ]
|
||||||
then
|
then
|
||||||
sed '/^http {/a\
|
sed '/^http {/a\
|
||||||
include http_redirect;\n\
|
include http_redirect;\n\
|
||||||
include conf.d/\*.conf;\
|
include conf.d/\*.conf;\
|
||||||
include local.conf.d/\*.conf;\n\
|
include local.conf.d/\*.conf;\n\
|
||||||
types_hash_max_size 4096;\
|
types_hash_max_size 4096;\
|
||||||
server_names_hash_bucket_size 128;\n\
|
server_names_hash_bucket_size 128;\n\
|
||||||
proxy_headers_hash_max_size 1024;\
|
proxy_headers_hash_max_size 1024;\
|
||||||
proxy_headers_hash_bucket_size 128;\n' \
|
proxy_headers_hash_bucket_size 128;\n' \
|
||||||
-i /etc/nginx/nginx.conf.pacnew
|
-i /etc/nginx/nginx.conf.pacnew
|
||||||
mv /etc/nginx/nginx.conf.pacnew /etc/nginx/nginx.conf
|
mv /etc/nginx/nginx.conf.pacnew /etc/nginx/nginx.conf
|
||||||
nginx -s reload
|
nginx -s reload
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue