Re: Last roadblock changing from Apache: SSL & PHP #2

2017-05-14 Thread Philip Rhoades
Rainer, On 2017-05-15 10:07, Rainer Duffner wrote: Am 15.05.2017 um 00:50 schrieb Philip Rhoades : Also, nginx and php-fpm were actually running as services of course . . Maybe strip the comments next time you post a config file… Ah . . good point. Thanks for your

Re: Last roadblock changing from Apache: SSL & PHP - SUCCESS!

2017-05-14 Thread Philip Rhoades
Steve, On 2017-05-15 09:43, Steve Wilson wrote: Hi, It doesn't look like that's actually getting passed to php-fpm. You're possibly missing the php handling in your server{} block. Check that you've got a location set for php files to do a fastcgi_pass. Isn't that what this does?:

Re: Last roadblock changing from Apache: SSL & PHP #2

2017-05-14 Thread Rainer Duffner
> Am 15.05.2017 um 00:50 schrieb Philip Rhoades : > > Also, nginx and php-fpm were actually running as services of course . . Maybe strip the comments next time you post a config file… I have: server { set_real_ip_from 127.0.0.12; real_ip_header

Re: Last roadblock changing from Apache: SSL & PHP

2017-05-14 Thread Steve Wilson
Hi, It doesn't look like that's actually getting passed to php-fpm. You're possibly missing the php handling in your server{} block. Check that you've got a location set for php files to do a fastcgi_pass. eg. location ~ \.php$ { fastcgi_pass unix:/var/run/php-fpm/sock;

Re: Last roadblock changing from Apache: SSL & PHP #2

2017-05-14 Thread Philip Rhoades
Also, nginx and php-fpm were actually running as services of course . . On 2017-05-15 08:43, Philip Rhoades wrote: People, If I can solve this last problem (that I have just spent all night on), I can completely replace Apache with Nginx. I am using RoundCubeMail as my Webmail client - it is

Last roadblock changing from Apache: SSL & PHP

2017-05-14 Thread Philip Rhoades
People, If I can solve this last problem (that I have just spent all night on), I can completely replace Apache with Nginx. I am using RoundCubeMail as my Webmail client - it is written in PHP (the only PHP thing on my server) but it has been working happily with Apache for many years. I

Re: nginx-1.12.0

2017-05-14 Thread Vladimir Getmanshchuk
Добрый вечер! После обновления на 1.12 в конфиге: map $http_variable_name $variable_name { ... } ругается: nginx: [emerg] the duplicate "variable_name" variable debian jessie 2017-04-12 18:19 GMT+03:00 Maxim Dounin : > Изменения в nginx 1.12.0 > 12.04.2017 > > *)

Re: Не работает perl_set при использовании perl module

2017-05-14 Thread Alex Domoradov
> Зайдём с другой стороны: зачем вам логгировать эту переменную? :) это было лишь для примера. Сама переменная окружения к ruby отношения не имеет. > бы начал с того, что задал бы значение непосредственно в конфиге nginx'а так работает > Таким образом вы задали переменную оболочки, а не