关于 nginx 反向代理,我正在努力从 NGINX conf.d 中的请求 URL 获取参数值
这里 URL 中的 aa501030-e93e-11eb-bdcf-531cdb7c714a 是动态部分。我只需要 param1 的值。
如果 URL 只是https://abcd.cloudfront.net?param1="somecryptedvalue=="
if ($args ~ "^url=(.+)") { #gets the "url" get parameter set $key1 $1;
}