Block extension for specified IP address

2020-12-31 Thread Dr_tux
Hi Guys, I'm stuck in this. I am open to your suggestions. Thank you. I have a reverse proxy configuration as follows, I want to block exe extensions for requests from here. But it doesn't work. How can I do that ? Example Config: location / { types {

Re: Getting started with a Module

2020-12-31 Thread Andrei
Hi, You can cover all those stages in Lua. As for response body, check for ngx.arg[1] https://github.com/openresty/lua-nginx-module#body_filter_by_lua (it's available in certain stages only, but you can hack around that and pass it using ngx.ctx) https://stackoverflow.com/a/54432177/2388324 On

Re: SPAM: Nginx 1.19.6 snippets directory (Ubuntu Server 20.04)

2020-12-31 Thread Thomas Ward
Hi, Grzegorz.  I'm with the Ubuntu Server Team and can answer this directly. The NGINX upstream repository does NOT follow the structure of the package as it is in Ubuntu and Debian.  The snippets directory and sites-available and sites-enabled directories and includes as part of the default

Re: пакеты для ARM64

2020-12-31 Thread Илья Шипицин
Ага, я нашёл src.rpm, хотел посмотреть на опции компиляции. Вроде ничего особенного. Intrinsic-и поддерживаются? On Thu, Dec 31, 2020, 2:34 PM Konstantin Pavlov wrote: > Здравствуйте, > > 30.12.2020 19:30, Илья Шипицин wrote: > > привет! > > > > > >

Re: пакеты для ARM64

2020-12-31 Thread Konstantin Pavlov
Здравствуйте, 30.12.2020 19:30, Илья Шипицин wrote: > привет! > > > http://nginx.org/packages/mainline/centos/7/aarch64/repodata/repomd.xml > : > [Errno 14] HTTP Error 404 - Not Found > Trying other mirror. > > (ну и