Re: Nginx stop logging

2022-09-04 Thread Vincent M.
2>/dev/null` 2>/dev/null || true     endscript } Can I had on (create 0640 nginx root) on the server whitout risking to break everything on next logs rotates? Thank you, Vincent. On 9/4/22 14:17, Frank Swasey wrote: This sounds like your log rotation process is not signalling nginx to wri

Nginx stop logging

2022-09-04 Thread Vincent M.
Hello, The logs are working fine but once a day, nginx stop loging access and then the file log file is empty. So every day I have to restart my nginx server in order to get the logs. It's on a Rocky Linux 9 with Nginx 1.20.1 Never seen that before, what should I check? Thanks, Vi

Re: Same root folder for multiple website different robots.txt

2021-08-07 Thread Vincent M.
Le 06/08/2021 à 18:21, Francis Daly a écrit : On Fri, Aug 06, 2021 at 04:20:56PM +0200, Vincent M. wrote: Hi there, Is it possible to tell the second server to link the file robots.txt to another file like robots-pro.txt? Either of location = /robots.txt { alias /var/www/website/prod

Same root folder for multiple website different robots.txt

2021-08-06 Thread Vincent M.
the only problem is they have the same robots.txt file. Is it possible to tell the second server to link the file robots.txt to another file like robots-pro.txt? And by the way the url http://pro.mywebsite.com/robots.txt would open the file robots-pro.txt. Thanks, Vincent

Re: nginx getimagesize from local server: 403

2021-08-04 Thread Vincent M.
e on this rules added from https://github.com/mitchellkrogza/nginx-badbot-blocker ? Thanks :) Le 03/08/2021 à 21:14, Vincent M. a écrit : Hello all, I have a 403 error when trying to use the PHP function getimagesize on nginx based web server: list($imageWidth, $imageHeight) = getimagesize($im

nginx getimagesize from local server: 403

2021-08-03 Thread Vincent M.
has the same versions of nginx and PHP and pretty the same configuration. It might a configuration issue or a right issue on a certain file but I don't know where to check. Thank you, Vincent. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Question about IF and auth subrequest

2021-02-25 Thread Vincent Blondel
Thank You for the update, Will try and let You know ... -V. On Wed, Feb 24, 2021 at 9:03 PM Maxim Dounin wrote: > Hello! > > On Wed, Feb 24, 2021 at 06:44:49PM +0100, Vincent Blondel wrote: > > > Thank You for the swift answer Maxim. > > If I understand, you mean somet

Re: Question about IF and auth subrequest

2021-02-24 Thread Vincent Blondel
off; proxy_set_header Content-Length ""; proxy_pass http://backend; } -V. On Wed, Feb 24, 2021 at 3:01 PM Maxim Dounin wrote: > Hello! > > On Wed, Feb 24, 2021 at 10:39:57AM +0100, Vincent Blondel wrote: > > > Hello all, > > I have a quick question about the u

Question about IF and auth subrequest

2021-02-24 Thread Vincent Blondel
ou in advance for your Support ... Sincerely, Vincent ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Howto Remove the Cache-Control request header.

2021-01-19 Thread Vincent Blondel
Hello Thank You for the help I made some errors in my checks and confirm it is doing the job Thank You Vincent On Sun, Jan 17, 2021 at 1:16 AM Francis Daly wrote: > On Sat, Jan 16, 2021 at 07:11:54PM +0100, Vincent Blondel wrote: > > Hi there, > > > We want nginx to remove

Re: Howto Remove the Cache-Control request header.

2021-01-16 Thread Vincent Blondel
7:14 PM Thomas Ward wrote: > proxy_ignore_headers Cache-Control; > > Get BlueMail for Android <http://www.bluemail.me/r?b=16117> > ------ > *From:* Vincent Blondel > *Sent:* Sat Jan 16 13:11:54 EST 2021 > *To:* nginx@nginx.org > *Subject:*

Howto Remove the Cache-Control request header.

2021-01-16 Thread Vincent Blondel
t_upstream error timeout invalid_header http_503; } but the request header Cache-Control is still being sent to the OCS. Thank You in advance for Your help. Sincerely, Vincent ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: CHACHA20-POLY1305 Server Preference NOK with tlsv1.3

2020-05-04 Thread Vincent Blondel
=SHA256 ECDHE-PSK-AES128-CBC-SHA TLSv1 Kx=ECDHEPSK Au=PSK Enc=AES(128) Mac=SHA1 On Mon, May 4, 2020 at 5:54 PM Maxim Dounin wrote: > Hello! > > On Mon, May 04, 2020 at 07:49:26AM +0200, Vincent Blondel wrote: > > > thanks for the update Maxim but unfortunately still

Re: CHACHA20-POLY1305 Server Preference NOK with tlsv1.3

2020-05-03 Thread Vincent Blondel
9PM +0200, Vincent Blondel wrote: > > > Hello, > > > > Trying to get CHACHA20-POLY1305 Server Preference ... Working with > tlsv1.2 > > but NOK with tlsv1.3 > > > > ** Tried with a Custom OpenSSL.conf ServerPreference,PrioritizeChaCha > > >

CHACHA20-POLY1305 Server Preference NOK with tlsv1.3

2020-05-03 Thread Vincent Blondel
Hello, Trying to get CHACHA20-POLY1305 Server Preference ... Working with tlsv1.2 but NOK with tlsv1.3 ** Tried with a Custom OpenSSL.conf ServerPreference,PrioritizeChaCha OPENSSL_CONF=$HOME/conf/openssl.conf $HOME/bin/nginx.exe [default_conf] ssl_conf = ssl_sect [ssl_sect] system_default = sy

Re: ‘ngx_libc_crypt’ error: implicit declaration of function ‘crypt’

2020-02-09 Thread Vincent Blondel
thank You for the Support ... libcrypt-devel was the package missing in my cygwin install. this is now working :-) On Sun, Feb 9, 2020 at 10:46 AM Francis Daly wrote: > On Sat, Feb 08, 2020 at 06:21:34PM +0100, Vincent Blondel wrote: > > Hi there, > > > anybody know why ma

‘ngx_libc_crypt’ error: implicit declaration of function ‘crypt’

2020-02-08 Thread Vincent Blondel
Hi all, anybody know why make nginx 1.17.8 on cygwin fails with ... $ make make -f objs/Makefile make[1]: Entering directory '/home/devel/nginx-1.17.8' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \

Re: Don't log 404 error

2019-10-29 Thread Vincent M.
Le 29/10/2019 à 13:59, Sergey Kandaurov a écrit : On 29 Oct 2019, at 15:45, Vincent M. wrote: Hello, How not to log 404 errors: 2019/10/29 12:42:09 [error] 469#469: *16382 open() "/var/www/website/fr/telecharger" failed (2: No such file or directory), In my config I have: erro

Don't log 404 error

2019-10-29 Thread Vincent M.
ey are not errors... error_page 404 = /url_rewriting.php; Thanks, Vincent. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: openssl engine is not initialized properly

2019-08-20 Thread Vincent Chen
e the flag ' OPENSSL_INIT_ENGINE_ALL_BUILTIN| OPENSSL_INIT_LOAD_CONFIG' to call OPENSSL_init_ssl().   Vincent Chen   Sent: Monday, August 19, 2019 at 6:32 PM From: "Maxim Dounin" To: nginx@nginx.org Subject: Re: openssl engine is not initialized properly Hello! On Mon, Aug 19, 2019 at 07:35:57PM +0

openssl engine is not initialized properly

2019-08-19 Thread Vincent Chen
Hi,   I am trying to implement an openssl (1.1.1c) engine. However, after the openssl is initialized by nginx 1.17.2, the engine does not initialized properly. When I am using 'openssl' command it works file.   After a bit debugging, I realized that nginx 1.17.2 initialize openssl with function

Re: Setting Charset on Nginx PHP virtual host

2019-08-05 Thread Vincent M.
Le 04/08/2019 à 23:57, Francis Daly a écrit : On Sun, Aug 04, 2019 at 03:11:36PM +0200, Vincent M. wrote: Hi there, But the special characters was displayed with "?" not with � . I wonder... The nginx docs say """Missing characters in the range 80-FF are replaced wi

Re: Setting Charset on Nginx PHP virtual host

2019-08-04 Thread Vincent M.
t PHP charset config is set to "utf-8" and to overwrite it, I have added on the beginning of my script:     ini_set('default_charset', 'iso-8859-1'); And it's working fine... Thanks all for your help, Vincent. Le 02/08/2019 à 17:05, Francis Daly a écrit : On

Re: Setting Charset on Nginx PHP virtual host

2019-08-02 Thread Vincent M.
_map? Thank you for your help, Vincent. Le 01/08/2019 à 22:07, Francis Daly a écrit : On Wed, Jul 31, 2019 at 05:29:37PM +0200, Vincent M. wrote: Hi there, I have specified charset and overried_charset on both server and location and yet, it was still sending headers in UTF-8. What doe

Setting Charset on Nginx PHP virtual host

2019-07-31 Thread Vincent M.
to specify in it default_charset = "iso-8859-1". But I would like to let my php set to UTF-8 and specify on Nginx only for only one virtual host iso-8859-1. On Apache we can do: ...     Header set Content-Type "text/html; charset=iso-8859-1" How to do the same on Ngin

Re: systemd nginx service unable to start nginx 1.11.10

2019-05-28 Thread Vincent Li
On Tue, May 28, 2019 at 4:45 PM Maxim Dounin wrote: > By default, nginx uses /usr/local/nginx/logs/nginx.pid as a PID > file path, see "--pid-path=" here: > > http://nginx.org/en/docs/configure.html > > Unless you've redefined it during compilation, or set in nginx > configuration, or changed sys

systemd nginx service unable to start nginx 1.11.10

2019-05-28 Thread Vincent Li
Hi, I am running ubuntu 16.04, the nginx package from ubuntu can be started from systemd ok as below shown. ==COMMAND OUTPUT= #/usr/sbin/nginx-from-ubuntu -v nginx version: nginx/1.10.3 (Ubuntu) # ls -l /usr/sbin/nginx lrwxrwxrwx 1 root root 27 May 28 15:29 /usr/sbin/nginx -> /usr/sbin

Re: Nginx OR for 2 differents location

2018-05-07 Thread Vincent
effectively do the same On 07.05.2018 15:24, Vincent wrote: Hello, I have 2 location blocks like that: location = /url_rewriting.php {   and location ~ render_img.php

Nginx OR for 2 differents location

2018-05-07 Thread Vincent
location block? Thanks in advance, Vincent. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Configure Nginx Fast CGI cache ON error_page 404

2018-05-01 Thread Vincent
med/img.php?VR=1&size=300&image=U3pmwKi but not for image URL https://mywebsite.com/include/php/render/framed/file/VR/1/size/300/image/U3dpwK/the-cat.jpg Yet I have put fastcgi_cache_valid 404 20d; So, how to cache scripts going to error_page 404 = /url_rewriting.ph

Re: Building nginx with TCP_FASTOPEN enabled

2014-08-10 Thread Vincent Bernat
❦ 10 août 2014 07:59 -0400, "mastercan"  : >> Try looking into objs/autoconf.err, it has details about configure >> test failures. Most likely, the TCP_FASTOPEN constant isn't >> defined since your glibc isn't recent enough, something like 2.18+ >> is needed. >> > > Yes, you're right. glibc