Postgresql 这是什么意思?<;id>;在nginx.conf';什么地方?
是吗?表示ngx_postgres可以将其作为变量foo访问 我只需要确认一下。 这是纯ngx_postgres功能还是nginx单机版也可以使用?这是nginx的标准功能: 例如: 使用此位置:Postgresql 这是什么意思?<;id>;在nginx.conf';什么地方?,postgresql,nginx,openresty,Postgresql,Nginx,Openresty,是吗?表示ngx_postgres可以将其作为变量foo访问 我只需要确认一下。 这是纯ngx_postgres功能还是nginx单机版也可以使用?这是nginx的标准功能: 例如: 使用此位置: location ~ /numbers/(?<num>\d+) { # I captured one ore more digits into the variable $num ... } location~/numbers/(?\d+){ #我在变量$num中捕获了
location ~ /numbers/(?<num>\d+) {
# I captured one ore more digits into the variable $num
...
}
location~/numbers/(?\d+){
#我在变量$num中捕获了一个或多个数字
...
}
如果请求为/numbers/100
变量$num(值为100)将在您所在的位置可用