Re: Rewrite with regex

2021-04-12 Thread Artur
;t work correctly. It should be (still testing for errors...) : rewrite "^/([a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)$" /index.php?short_name=$1 last; -- Best regards, Artur ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Rewrite with regex

2021-04-12 Thread Artur
Le 12/04/2021 à 12:19, Francis Daly a écrit : > On Mon, Apr 12, 2021 at 12:02:32PM +0200, Artur wrote: > > Hi there, > >> This seems to work : >> >> rewrite "^/((?:[a-zA-Z0-9]+(?:[-][a-zA-Z0-9])*)+)$" >> /index.php?short_name=$1 last; >> >&g

Re: Rewrite with regex

2021-04-12 Thread Artur
This seems to work : rewrite "^/((?:[a-zA-Z0-9]+(?:[-][a-zA-Z0-9])*)+)$" /index.php?short_name=$1 last; However, I suppose there is no way to check the size of $1 here. Le 12/04/2021 à 11:30, Artur a écrit : > Hello ! > > I have the following setup : > > location /

Rewrite with regex

2021-04-12 Thread Artur
][a-zA-Z0-9])*)$ However there is no match and rewrite fails. My current setup is a Debain 10 server with nginx-full (14.2.2) installed. Any idea on how I can solve this problem, please ? -- Best regards, Artur ___ nginx mailing list nginx@ngin

Proxy with SSL offload and Nginx redirections

2019-01-24 Thread Artur
the proxy to set header X-Forwarded-Proto:https but it does not change anything. Could you please point me to the right directive so Nginx follows what is set in X-Forwarded-Proto header ? Maybe I should use 'absolute_redirect off;' ? --

Reverse proxy tuning

2016-06-10 Thread Artur
e $http_upgrade; proxy_set_header Connection $connection_upgrade; # tests proxy_connect_timeout 75s; proxy_read_timeout 300s; proxy_send_timeout 300s; proxy_next_upstream off; } } Thank you for your feedback. -- Best

Re: Nginx as reverse proxy scalability

2016-05-10 Thread Artur
Le 10/05/2016 à 17:46, Maxim Konovalov a écrit : > The blog post I sent has nothing -plus specific in this area. That's perfect. Thank you all. -- Best regards, Artur. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/

Re: Nginx as reverse proxy scalability

2016-05-10 Thread Artur
seen this, however I didn't catch how to dynamically assign a value to proxy_bind from a pool of IP addresses in nginx (not Nginx Plus). -- Best regards, Artur. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx as reverse proxy scalability

2016-05-10 Thread Artur
that nginx in this setup will not be able to manage more than about 64k clients connections. Am I right ? What can be done if I would like to go over this 64k limit ? Could you please suggest a solution ? -- Best regards, Artur. ___ nginx mailing list

Re: try_files setup

2015-07-17 Thread Artur
No one has any idea about the solution for this problem ? -- Best regards, Artur. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

try_files setup

2015-07-10 Thread Artur
y help will be appreciate. :) -- Best regards, Artur. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx