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
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?:
> 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
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;
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
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
Добрый вечер!
После обновления на 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
>
> *)
> Зайдём с другой стороны: зачем вам логгировать эту переменную? :)
это было лишь для примера. Сама переменная окружения к ruby отношения не
имеет.
> бы начал с того, что задал бы значение непосредственно в конфиге nginx'а
так работает
> Таким образом вы задали переменную оболочки, а не