Pat*_*way 3 nginx http-headers
我想读取 nginx.conf 中的标题,其中包含“-”
x-foo-bar
使用 $http_name
$http_x-foo-bar 变量的值变成“-foo-bar”
看起来它试图找到一个名为 x 的标头,然后将 -foo-bar 附加到该值
有什么办法可以逃避这些“-”
我试过 / 但 $http_x/-foo/-bar 给出了 /-foo/-bar 的值
| 归档时间: |
|
| 查看次数: |
1553 次 |
| 最近记录: |