Re: Whitelist iPhone/office computer IP address to access wordpress login page, deny any other ip address

2021-11-09 Thread Jore
Just a quick reply cos I'm on the run, but this might help for #2 location /yourpath/file/whatever {     # drop the connection/blackhole for this block     return 444;     } On 10/11/21 6:32 am, Danran wrote: > I am running a lemp server which is working and running wordpress quite > pro

Re: Whitelist iPhone/office computer IP address to access wordpress login page, deny any other ip address

2021-11-09 Thread Jore
Just a quick reply cos I'm on the run, but this might help for #2 location / {     # drop the connection/blackhole for this block     return 444;     } On 10/11/21 6:32 am, Danran wrote: > I am running a lemp server which is working and running wordpress quite > properly. As of now, I ha

Got "http reading blocked" on second request with same connection

2021-11-09 Thread frdcybermatrix
Hi I'm having problem with my custom nginx module. I created nginx module to detect wether the request is authorized or not, and I need to check request body. So I use ngx_http_read_client_request_body in NGX_HTTP_ACCESS_PHASE. Modules work perfectly on one request at a time. For example: 'curl -v

Whitelist iPhone/office computer IP address to access wordpress login page, deny any other ip address

2021-11-09 Thread Danran
I am running a lemp server which is working and running wordpress quite properly. As of now, I have my wordpress web login blacklisted by all IP addresses EXCEPT any IP on my lan with the following directive: server { # Allow local only to wp-login page location ~ /wp-login.php { allow 192.168.1.0

Re: http_proxy_module hooks

2021-11-09 Thread Tobias Stadler
Actually I want to adapt the OpenTelemetry module to create a span for the upstream request. Tobias > Am 09.11.2021 um 10:44 schrieb Reinis Rozitis : > >> Do generic request handlers/response filters work for request to upstream >> servers? Do you now any documentation/example on how to imple

RE: http_proxy_module hooks

2021-11-09 Thread Reinis Rozitis
> Do generic request handlers/response filters work for request to upstream > servers? Do you now any documentation/example on how to implement such an > handler/filter? As a variant the Sub filter module does http://nginx.org/en/docs/http/ngx_http_sub_module.html (the only requirement was tha

Re: http_proxy_module hooks

2021-11-09 Thread Tobias Stadler
Hi Maxim, Thank You for the information. Do generic request handlers/response filters work for request to upstream servers? Do you now any documentation/example on how to implement such an handler/filter? Regards Tobias > Am 08.11.2021 um 22:05 schrieb Maxim Dounin : > > Hello! > > On Mon