On Mon, Feb 22, 2021 at 02:15:42PM -0500, sanflores wrote:
Hi there,
I suspect that if I were doing this, I would probably pick one url that
is not otherwise used on my server (in this example, "/puppet/"), and
use that as a "stepping stone".
Then, if this request should be handled specially, re
First of all, thanks for your help.
Here is my configuration:
cat nginx.conf
-
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid/var/run/nginx.pid;
events {
worke
On Mon, Feb 22, 2021 at 02:12:08PM +, Grzegorz Cześnik wrote:
Hi there,
> My nginx distribution is from the official nginx repository for Ubuntu 20
> Server
>
> Default:
> location / {
> root / usr / share / nginx / html;
> index index.html index.htm;
> }
>
> Theref
On Mon, Feb 22, 2021 at 07:52:04AM -0500, sanflores wrote:
Hi there,
> This would be great, but I don't know how to server the context from nginx
> with a rewrite, what would work is:
I'm afraid I don't fully understand what response you want to send to
what request.
Can you show some examples?
My nginx distribution is from the official nginx repository for Ubuntu 20 Server
Default:
location / {
root / usr / share / nginx / html;
index index.html index.htm;
}
Therefore, I prefer to change it.
Grzegorz
-Original Message-
From: nginx [mailto:nginx-boun...
This would be great, but I don't know how to server the context from nginx
with a rewrite, what would work is:
if ($is_NOT_a_bot) {
rewrite in order to save the content in /usr/share/nginx/html
}
proxy_pass
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,290773,290820#msg-290820
I want to rate limit PHP requests with "client ip + vhost + same url" but on
same servers sometimes I see:
[alert] 78841#0: could not allocate node in limit_req zone
"req_limit_per_ip_per_uri"
which causes 429 errors in all domains.
-
FreeBSD/amd64
-
# Max connections
events {
wor