1
是嗎?表示它可以作爲變量foo訪問ngx_postgres?什麼? <id>在nginx.conf的位置嗎?
我只需要確認一下。 https://github.com/FRiCKLE/ngx_postgres#sample-configuration-5
這是一個純粹的ngx_postgres函數還是這也可用於nginx獨立?
是嗎?表示它可以作爲變量foo訪問ngx_postgres?什麼? <id>在nginx.conf的位置嗎?
我只需要確認一下。 https://github.com/FRiCKLE/ngx_postgres#sample-configuration-5
這是一個純粹的ngx_postgres函數還是這也可用於nginx獨立?
這就是nginx的標準regex named captures特點:
如:
有了這個位置:
location ~ /numbers/(?<num>\d+) {
# I captured one ore more digits into the variable $num
...
}
如果請求/數字/ 100
變量$ NUM(價值100)在您的l ocation。