如果你想在Lua 中通过标准Lua API os.getenv 来访问系统环境变量,例如 foo , 那么你需要在你的nginx.conf 中,通过env 指令,把这个环境变量列出来。 例如:
確定! 回上一頁