te a new log. I don't know Rocky Linux, so I can't be specific in
further suggestions.
~ Frank
On Sun, Sep 4, 2022 at 7:24 AM Vincent M. wrote:
Hello,
The logs are working fine but once a day, nginx stop loging access
and then the file log file is empty.
So every
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,
Vincent.
___
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
Hello,
I have a first website with this configuration:
server {
server_name mywebsite.com;
root /var/www/website/prod;
...
}
and a second one like this with the same root folder:
server {
server_name pro.mywebsite.com;
root /var/www/website/prod;
...
}
And th
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
Hello all,
I have a 403 error when trying to use the PHP function getimagesize on
nginx based web server:
list($imageWidth, $imageHeight) = getimagesize($imagesSource['Main']);
Where $imageSource['Main'] is like:
https://mywebsite/include/php/render/canvas/VR/2/image/U35p/ver//bgColor/ff
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
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:
error_log /var/log/nginx/website-error.log;
Because I use 404 for doing url rewriting and so they are not errors
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
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
_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
Hello,
I tried to set the Charset of a virtual host like this:
server {
root /var/www/mywebsite.com;
...
charset iso-8859-1;
override_charset on;
...
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/
12 matches
Mail list logo