Re: is nginx support time-based acl?

Aleksandar Lazic al-nginx at
Sat Jun 1 09:18:45 UTC 2019


Am 01.06.2019 um 03:47 schrieb baalchina:
> hi all, I have a Nginx server,which I want to setup a time-based acl, for example, during 8am to 17pm, Nginx accept all connections, during 17pm to 8am nextday, Nginx deny all connections.
> Different acl may be deployed in different sites.
> Is this possible? I looked at the ngx_http_access_module, seems cannot do this.

I would use for

You will need a web service which checks the time and allow or deny the access.

> Thanks!


More information about the nginx mailing list