Nginx not reloading after SIGHUP in freebsd

2020-12-15 Thread Luciano Mannucci
Hello all! If I issue a "kill -s HUP" from root to the pid I find on my freeBSD machine it does'nt reload the configuration. If I issue a "service nginx reload" it does. Is it normal? Here is the output of my "pkg info nginx" which shoud carry all the relevant informations: nginx-devel-1.19.3_

Re: Nginx 1.17.6 ignores kill -HUP

2019-12-20 Thread Luciano Mannucci
On Fri, 20 Dec 2019 16:23:26 +0100 Luciano Mannucci wrote: > I have an istallation of nginx in a FreeBSD PPC64 server (running > 11.3 RELEASE) which seems to ignore kill -HUP: it doesn't reload > configuration and doesn't log the fact that kill has reached it, even > if I

Nginx 1.17.6 ignores kill -HUP

2019-12-20 Thread Luciano Mannucci
I have an istallation of nginx in a FreeBSD PPC64 server (running 11.3 RELEASE) which seems to ignore kill -HUP: it doesn't reload configuration and doesn't log the fact that kill has reached it, even if I set the debug level in error_log to "debug". nginx -V says: nginx version: nginx/1.17.6 b

Re: Nginx Directory Autoindex

2018-03-02 Thread Luciano Mannucci
On Fri, 2 Mar 2018 10:33:45 + James wrote: > I'd like the option of order by date, "ls -t", "ls -rt". This helps > because the text order of numbers is "10 11 8 9", see: > > http://nginx.org/download/ Well, this is way less trivial than simply add a flag to reverse sort order. It belongs i

Re: Nginx Directory Autoindex

2018-03-01 Thread Luciano Mannucci
On Thu, 1 Mar 2018 19:45:27 +0300 Roman Arutyunyan wrote: > Just in case you'll get back to XML/XSLT, here's a simple configuration to > sort the files: Many thanks! I'll give it a try. Cheers, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBO

Re: Nginx Directory Autoindex

2018-03-01 Thread Luciano Mannucci
On Thu, 1 Mar 2018 12:16:34 + Miguel C wrote: > there's a default sorting option for name/data etc > https://github.com/aperezdc/ngx-fancyindex#fancyindex-default-sort > > I do see a default_sort as a directive but not for "ascending" "descending" > (doesn't since supper hard to implement in

Re: Nginx Directory Autoindex

2018-03-01 Thread Luciano Mannucci
On Wed, 28 Feb 2018 23:30:35 + Miguel C wrote: > I'm unsure if thats possible without 3rd party module... > > I've used fancyindex before when I wanted sorting. I don't find fancyindex module in 1.13.9. It seems that some of its features are now in autoindex. It is probably trivial to add an

Nginx Directory Autoindex

2018-02-28 Thread Luciano Mannucci
Hello all, I have a directory served by nginx via autoindex (That works perfectly as documented :). I need to show the content in reverse order (ls -r), is there any rather simple method? Thanks in advance, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ /

Re: Rewrite rules from Apache again

2014-06-12 Thread Luciano Mannucci
On Wed, 11 Jun 2014 18:05:50 +0100 Francis Daly wrote: On Wed, 11 Jun 2014 18:05:50 +0100 Francis Daly wrote: > The rewrite that you want doesn't happen, because the request > /en/privacy.php is handled in: > > > location ~ \.php$ { > > location / { > > location ^~ /e

Re: Rewrite rules from Apache again

2014-06-11 Thread Luciano Mannucci
On Tue, 10 Jun 2014 22:43:05 +0100 Francis Daly wrote: > The rest of the config? :) Well, I've posted it in my previous request for help. Beeing longish I tried to spare some bandwith... :) > > == > server { > rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ; > rewrite ^/privacy.php$ /pagina.php

Rewrite rules from Apache again

2014-06-10 Thread Luciano Mannucci
I'm still trying to move everything from apache to nginx. I've successfully translated some rules from the .htaccess: RewriteRule ^(.*)_k(.*)\.htm$ pagina.php?k=$2 works pretty weff if turned into: rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ; while RewriteRule ^privacy.php$ pagina.php?k=priva

Re: Switching to nginx: php and rewrite rules from apache

2014-06-10 Thread Luciano Mannucci
On Sat, 7 Jun 2014 11:39:55 +0100 Francis Daly wrote: > add something like > > location ~ \.php$ { > fastcgi_pass 127.0.0.1:9004; > } > > so that nginx knows to handle this request the way you want it to. Works! :-) :) I had to add few other things (it was looking f

Re: Switching to nginx: php and rewrite rules from apache

2014-06-07 Thread Luciano Mannucci
On Sat, 7 Jun 2014 10:08:54 +0100 Francis Daly wrote: > On Sat, Jun 07, 2014 at 10:50:05AM +0200, Luciano Mannucci wrote: > > Hi there, > > What did I have wrong? > > You left out some useful information: > > * what request do you make? new.assirm.it/en/ > *

Switching to nginx: php and rewrite rules from apache

2014-06-07 Thread Luciano Mannucci
Hello list, I'm moving a bunch of sites from Apache to nginx 1.5.13 :). Everything went fine for the static ones and for the sites under wp or joomla. I have one site in php developped by the customer that seemed ok till I discovered that it has a subdirectory with its own .htacess file. Trying