[wgo-web/nginx] Limit OFAC block to /support-gnome/
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wgo-web/nginx] Limit OFAC block to /support-gnome/
- Date: Mon, 30 Nov 2020 15:45:30 +0000 (UTC)
commit 64ac7de9f14390bb050c1e7ac2e3e011c808822e
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Nov 30 16:44:55 2020 +0100
Limit OFAC block to /support-gnome/
nginx.conf | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
index eb05e35..c3f39d1 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -64,8 +64,10 @@ http {
client_max_body_size 100M;
- if ($allowed_country = no) {
- return 444;
+ location /support-gnome/ {
+ if ($allowed_country = no) {
+ return 444;
+ }
}
rewrite ^/foundation/charter.html https://wiki.gnome.org/Foundation/Charter permanent;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]