ssl_password_file directive is duplicate

2017-12-15 Thread Nikolay Skachkov
Hi! I want to use several ssl_certificate followed by ssl_certivicate_key in configuration. Also I try to supply ssl_password_file for each pair. Assuming that each key has its own password. I get: ssl_password_file directive is duplicate Please advice. NikolayNikolay

Re: nginx rewrite does not work without "permanent" directive

2017-12-15 Thread Francis Daly
On Fri, Dec 15, 2017 at 05:32:25PM +0300, Александр Трофимчук wrote: Hi there, > Nevertheless I wonder why the following (almost similar) config works? I don't see it as similar. Am I missing something? > I get php output when requesting for > http://site.com//files/imagecache/small/1.jpg > Tho

Re: nginx rewrite does not work without "permanent" directive

2017-12-15 Thread Александр Трофимчук
Thank you for advice! I will add the "redirect". Nevertheless I wonder why the following (almost similar) config works? I get php output when requesting for http://site.com//files/imagecache/small/1.jpg Though rewrite goes to another location with some additional parameters the configurations look

Moving Joomla from subdir to root -> rewrite / redirect problem

2017-12-15 Thread Johannes Rohr
Dear all, in order to have prettier URLs I have decided to move my joomla from /web/ to /, but I want old URLs to transparently redirect. I am struggling how to do this. First I though of something like location /web {   try_files $uri $uri/ /index.php?$args;  } but this obviously did not work

Re: nginx rewrite does not work without "permanent" directive

2017-12-15 Thread Francis Daly
On Fri, Dec 15, 2017 at 03:48:20PM +0300, Alexander Trofimchouk wrote: Hi there, > My nginx rewrite works only if I add "permanent" directive. Without it there > is no rewrite seen even in browser's network log. http://nginx.org/r/rewrite "rewrite" does not directly lead to "http redirect" with

nginx rewrite does not work without "permanent" directive

2017-12-15 Thread Alexander Trofimchouk
Hello! Please would you mind helping me. My nginx rewrite works only if I add "permanent" directive. Without it there is no rewrite seen even in browser's network log. I have an image cache system which works this way: - there is a folder for uploaded images ( ) - folder for small thumbnails o