我已经将nginx配置为如下所示的静态页面。 alias /home/username/files/home; }
只有index.html在http://example.com/home上加载。所有其他css、js和图像文件都是404,因为请求仍然是针对http://example.com/css/style.css而不是http://example.com/home/css/style.css的。我
我有一个nginx mod perl模块,它可以获取数据并根据脚本中的参数执行操作,但无法获取http referer。我在努力 $r->header_in("http_referer") # Gives an undefined string
$r->headers_in() # func not defined如何在函数中获得http客户端传递的所有标头?