From ff3b490cd6cf666145bccef0bfd3389968e128f9 Mon Sep 17 00:00:00 2001 From: Guillaume Briday <8252238+guillaumebriday@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:57:05 +0000 Subject: [PATCH] Using built in signal feature --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5e9e2a1..e45a409 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ done echo "" >> $CLOUDFLARE_FILE_PATH; echo "real_ip_header CF-Connecting-IP;" >> $CLOUDFLARE_FILE_PATH; -#test configuration and reload nginx -nginx -t && systemctl reload nginx +# Test configuration and reload nginx +nginx -t && nginx -s reload ``` ## Output @@ -72,7 +72,6 @@ set_real_ip_from 2a06:98c0::/29; set_real_ip_from 2c0f:f248::/32; real_ip_header CF-Connecting-IP; - ``` ## Crontab