From 49e69c488883d974edf8b98373d03d9251f61f5c Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 18 Dec 2021 18:11:04 -0500 Subject: [PATCH] Mention #3072 in roles/kiwix/templates/kiwix-nginx.conf.j2 --- roles/kiwix/templates/kiwix-nginx.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kiwix/templates/kiwix-nginx.conf.j2 b/roles/kiwix/templates/kiwix-nginx.conf.j2 index 8968f9e50..d21ca7b86 100644 --- a/roles/kiwix/templates/kiwix-nginx.conf.j2 +++ b/roles/kiwix/templates/kiwix-nginx.conf.j2 @@ -1,4 +1,4 @@ -location ^~ {{ kiwix_url }} { # ^~ allows articles like ".apple" to be shown: https://www.digitalocean.com/community/tutorials/understanding-nginx-server-and-location-block-selection-algorithms#how-nginx-chooses-which-location-to-use-to-handle-requests +location ^~ {{ kiwix_url }} { # #3072: ^~ allows articles like ".apple" to be shown: https://www.digitalocean.com/community/tutorials/understanding-nginx-server-and-location-block-selection-algorithms#how-nginx-chooses-which-location-to-use-to-handle-requests proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_http_version 1.1;