From 4f93028c1aa50035cc9b51112499a4db8c57517c Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Mon, 14 Mar 2022 17:32:53 +0100 Subject: [PATCH] fix --- docker/nginx/conf.d/include/location-skylink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/include/location-skylink b/docker/nginx/conf.d/include/location-skylink index b6369330..e1de3238 100644 --- a/docker/nginx/conf.d/include/location-skylink +++ b/docker/nginx/conf.d/include/location-skylink @@ -9,7 +9,7 @@ include /etc/nginx/conf.d/include/proxy-cache-downloads; #### this is important because we want only one format in cache keys and logs ###set_by_lua_block $skylink { return require("skynet.skylink").parse(ngx.var.skylink) } ### -#### $skylink_v1 and $skylink_v2 variables default to the same value but in case the requested skylink was: +$skylink_v1 and $skylink_v2 variables default to the same value but in case the requested skylink was: #### a) skylink v1 - it would not matter, no additional logic is executed #### b) skylink v2 - in a lua block below we will resolve the skylink v2 into skylink v1 and update #### $skylink_v1 variable so then the proxy request to skyd can be cached in nginx (proxy_cache_key