Re: Crash in mail module during SMTP setup

2019-07-31 Thread Rob N ★
On Wed, 31 Jul 2019, at 2:11 AM, Maxim Dounin wrote: > > I think I see the problem - when using SMTP with SSL and resolver, > > read events might be enabled during address resolving, leading to > > duplicate ngx_mail_ssl_handshake_handler() calls if something > > arrives from the client, and dup

Re: Why 301 permanent redirect with appended slash?

2019-07-31 Thread J. Lewis Muir
On 07/31, Francis Daly wrote: > On Tue, Jul 30, 2019 at 05:12:01PM -0500, J. Lewis Muir wrote: > > Hi there, > > > I have a minimal nginx.conf with one server block that sets the root > > directory and one location with a prefix string of "/foo/", and for a > > request of "/foo", it returns a 301

Setting Charset on Nginx PHP virtual host

2019-07-31 Thread Vincent M.
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/

Re: Why 301 permanent redirect with appended slash?

2019-07-31 Thread Francis Daly
On Tue, Jul 30, 2019 at 05:12:01PM -0500, J. Lewis Muir wrote: Hi there, > I have a minimal nginx.conf with one server block that sets the root > directory and one location with a prefix string of "/foo/", and for a > request of "/foo", it returns a 301 permanent redirect to "/foo/". Why? > I ex

Re: Implicit root location?

2019-07-31 Thread Francis Daly
On Tue, Jul 30, 2019 at 04:20:41PM -0500, J. Lewis Muir wrote: Hi there, > I have a minimal nginx.conf with one server block that sets the root > directory but has *no* location directives, yet for a request of "/", it > serves "/index.html". Why? With no locations specified, I expected it > to