unit icon indicating copy to clipboard operation
unit copied to clipboard

feature request: nginx's http_access_module (allow / deny) functional

Open TheFatal opened this issue 3 years ago • 4 comments

Thanks again for Unit.

Please add something similar to nginx's http_access_module (allow / deny) functional, it would be wery cool too !

TheFatal avatar Dec 02 '21 13:12 TheFatal

Indeed. Due to Unit architecture, dynamic allow/deny lists will be extremely useful for real applications.

shmux8 avatar Dec 02 '21 13:12 shmux8

How do you see this functionality? Because currently it seems easy to configure using route matching conditions in combination with the return option.

VBart avatar Dec 02 '21 13:12 VBart

@VBart Thank you for pointing to this! Is there a chance to include allow/deny lists in documentation as a particular example?

shmux8 avatar Dec 06 '21 16:12 shmux8

@artemkonev this could be a great example for a new how to section about routing / advanced routing. I know the documents road map is more than full 😬

tippexs avatar Jun 19 '22 10:06 tippexs

https://unit.nginx.org/configuration/#instant-responses-redirects

artemkonev avatar Sep 30 '22 08:09 artemkonev