From c69e096227b534739f8d11e63f0811aab848c0b3 Mon Sep 17 00:00:00 2001 From: poespas Date: Wed, 29 Jul 2026 10:53:48 +0200 Subject: [PATCH] Add doc on removing an automatic country block --- .../how-to-block-your-webshop-for-specific-countries.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/hypernode-platform/nginx/how-to-block-your-webshop-for-specific-countries.md b/docs/hypernode-platform/nginx/how-to-block-your-webshop-for-specific-countries.md index 9799b9a4..b9af8dbb 100644 --- a/docs/hypernode-platform/nginx/how-to-block-your-webshop-for-specific-countries.md +++ b/docs/hypernode-platform/nginx/how-to-block-your-webshop-for-specific-countries.md @@ -99,3 +99,12 @@ app@abcdef-example-magweb-cmbl:~$ cat nginx/server.block_cn # Placed by Hypernode automation on 2019-01-11 12:18 if ($geoip_country_code = CN) { return 403; } ``` + +## Removing an automatic country block + +Blocks placed by Hypernode automation (`server.block_` in `/data/web/nginx`) are re-armed: if you delete the file, automation will place it again when the triggering conditions recur. To permanently lift a block, leave the file in place and comment out its directives, for example: + +```nginx +# Placed by Hypernode automation on 2019-01-11 12:18 +# if ($geoip_country_code = CN) { return 403; } +```