Re: why hardcoded /var/log/nginx/error.log in pre-built packages?

2018-03-01 Thread Valentin V. Bartenev
On Thursday, 1 March 2018 23:40:28 MSK Daniel wrote: > Hello all, > > can someone please explain to me why the location /var/log/nginx/error > log is hardcoded in the official prebuilt packages? > > Or why nginx -t checks if this file exists even if there is another > location defined in the conf

Re: why hardcoded /var/log/nginx/error.log in pre-built packages?

2018-03-01 Thread Aziz Rozyev
it’s not hardcoded afaik. check output of nginx -T perhaps it’s defined error_log directive somewhere.. br, Aziz. > On 1 Mar 2018, at 23:40, Daniel wrote: > > Hello all, > > can someone please explain to me why the location /var/log/nginx/error > log is hardcoded in the official prebuilt

why hardcoded /var/log/nginx/error.log in pre-built packages?

2018-03-01 Thread Daniel
Hello all, can someone please explain to me why the location /var/log/nginx/error log is hardcoded in the official prebuilt packages? Or why nginx -t checks if this file exists even if there is another location defined in the config file? Thank you. Daniel _

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

yum install nginx Transaction Check Error:

2018-03-01 Thread neuronetv
trying to run 'yum install nginx*' (stable version) on centos 6 using these instructions: http://nginx.org/en/linux_packages.html#stable I get the following error Transaction Check Error: file /usr/lib64/nginx/modules/ngx_http_geoip_module.so conflicts between attempted installs of nginx-module-

Re: Nginx Directory Autoindex

2018-03-01 Thread Roman Arutyunyan
Hi, On Thu, Mar 01, 2018 at 05:27:49PM +0100, Luciano Mannucci wrote: > 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 direct

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 mail proxy

2018-03-01 Thread Maxim Dounin
Hello! On Thu, Mar 01, 2018 at 05:55:10AM -0500, peanky wrote: > Why using nginx with not my smtp is wrong way? > PS: I see the date ot topic, but this time I try to solve the same problem. Bacause nginx smtp proxy is designed to protect / balance your own smtp backends. If you want to proxy t

Re: fsync()-in webdav PUT

2018-03-01 Thread Valery Kholodkov
You can also apply online: https://angel.co/qubiq-digital-b-v/jobs That's more 2018-nish. On 01-03-18 13:24, Valery Kholodkov wrote: I admire your wise approach to this discussion, as well your technical expertise! I see the value in people who know the right way, but I see the value in people

Re: fsync()-in webdav PUT

2018-03-01 Thread Valery Kholodkov
I admire your wise approach to this discussion, as well your technical expertise! I see the value in people who know the right way, but I see the value in people who dare to explore and want learning the right way. Coincidently, at Qubiq Labs we're looking for that kind of kick-ass Systems and

Re: Nginx Directory Autoindex

2018-03-01 Thread Miguel C
Yeah I was looking in github and there's no update for a year now... which tbh might be about the same time I last used it :D 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 "a

Re: Nginx Directory Autoindex

2018-03-01 Thread Vladimir Homutov
On Wed, Feb 28, 2018 at 07:03:22PM +0100, Luciano Mannucci wrote: > > 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, Hello Luc

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

Re: Stream module logging questions

2018-03-01 Thread Roman Arutyunyan
Hello, On Thu, Mar 01, 2018 at 04:06:09AM +0100, Grzegorz Kulewski wrote: > Hello, > > 1. How can I log the IP and (especially) the port used by nginx (proxy) to > connect to upstream when stream module is used? > 2. Can I somehow get a log entry also/instead at stream connection setup > time,

Re: Nginx mail proxy

2018-03-01 Thread peanky
Why using nginx with not my smtp is wrong way? PS: I see the date ot topic, but this time I try to solve the same problem. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,257510,278855#msg-278855 ___ nginx mailing list nginx@nginx.org http://