Nginx Ip Whitelist

后端 未结 2 496
失恋的感觉
失恋的感觉 2020-12-08 20:14

I want to configure my nginx proxy server to only allow certain IPs to access it.

To my knowledge, this is normally done in the config file, with allow and deny list

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-08 20:42

    Maybe nginx.shared.dict (http://wiki.nginx.org/HttpLuaModule#lua_shared_dict) would help you?

提交回复
热议问题