Hi. You must use fastcgi_pass if you use fastcgi server as backend e.g.
php-fpm. If you use apache as backend you must use proxy_pass.
2 июля 2016 г. 10:25 пользователь "Francis Daly"
написал:
On Sat, Jul 02, 2016 at 06:21:38AM +, yair avendaño wrote:
Hi there,
> Hi I'm
Hello,
Where did you PHP install?
You can edit /path/to/php_dir/etc/php-fpm.conf,or sometimes there will be a
dir called 'www.conf.d',if it is,please change in the directory,and edit
www.conf which is in the www.conf.d.
You will find a option called 'listen' in the configuration file below,make
On Sat, Jul 02, 2016 at 06:21:38AM +, yair avendaño wrote:
Hi there,
> Hi I'm setting up a nginx as a reverse proxy but to try to see a site with
> drupal locally that have shown me 502 Bad Gateway error.
"drupal" is possibly served by a http server, not a fastcgi server.
> this gets me
Hi,
I have a PBX that has a webRTC feature (i.e. you login to PBX website
and you have a virtual handset with all the features).
Is it feasible or possible to use NGINX as a reverse proxy to handle
webRTC ?
A basic NGINX config just using proxy_pass doesn't seem to work, so I'm
guessing
Hi I'm setting up a nginx as a reverse proxy but to try to see a site with
drupal locally that have shown me 502 Bad Gateway error.
this gets me in the logs.
016/07/02 00:51:57 [error] 18120#0: *61 upstream sent unsupported FastCGI
protocol version: 72 while reading response header from
Hello!
On Fri, Jul 01, 2016 at 05:05:18PM -0700, Piotr Sikora wrote:
> # HG changeset patch
> # User Piotr Sikora
> # Date 1467064815 25200
> # Mon Jun 27 15:00:15 2016 -0700
> # Node ID 7da099858a643bc63a26082604f01910df444ad6
> # Parent
cc1: warnings being treated as errors
src/http/modules/perl/ngx_http_perl_module.c: In function
‘ngx_http_perl_preconfiguration’:
src/http/modules/perl/ngx_http_perl_module.c:847: предупреждение: unused
parameter ‘cf’
src/http/modules/perl/ngx_http_perl_module.c: In function
details: http://hg.nginx.org/nginx/rev/f379b32e4733
branches:
changeset: 6605:f379b32e4733
user: Roman Arutyunyan
date: Sat Jul 02 15:59:53 2016 +0300
description:
Sub filter: eliminate unnecessary buffering.
Previously, when a buffer was processed by the sub
details: http://hg.nginx.org/nginx/rev/0e0adbbc8752
branches:
changeset: 6604:0e0adbbc8752
user: Roman Arutyunyan
date: Sat Jul 02 15:59:52 2016 +0300
description:
Sub filter: introduced the ngx_http_sub_match() function.
No functional changes.
diffstat:
Добавьте функцию в memcached_module как perl_set в perl_module, её очень не
хватает мне, и думаю не только мне
Posted at Nginx Forum:
https://forum.nginx.org/read.php?21,268003,268003#msg-268003
___
nginx-ru mailing list
nginx-ru@nginx.org
Opera использует заголовок X-Forwarded-For для передачи адреса клиента,
а не X-Real-IP как nginx ожидает по-умолчанию. Добавьте:
> real_ip_headerX-Forwarded-For;
> http://nginx.org/ru/docs/http/ngx_http_realip_module.html#real_ip_header
02.07.16 12:45, Vladimir Sopot пишет:
> Привет!
>
> В
Привет!
В nginx.conf есть
set_real_ip_from 185.26.180.0/22;
fastcgi_param REMOTE_ADDR $remote_addr;
Но при этом до php-fpm доходит
$_SERVER["REMOTE_ADDR”]=185.26.182.31
nginx version: nginx/1.10.1
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
Да, конечно, есть и real_ip_header X-Forwarded-For;
В конфиге есть ещё куча других сетей оперы и с ними, кажется, нет проблем.
> On 02 Jul 2016, at 13:39, Fedor Dikarev wrote:
>
> Opera использует заголовок X-Forwarded-For для передачи адреса клиента,
> а не X-Real-IP как nginx
А что в заголовках запроса приезжает?
Вот, например, мой эксперимент:
fe@hamilton:~ % nc -kl
GET / HTTP/1.1
Host: hamilton.example.com:
...
x-lb-local: 82.145.209.252 80
X-Forwarded-For: 141.0.15.155
X-Content-Opt: Turbo/4.42.224
То есть видно, что запрос пришел с прокси Оперы, но в
14 matches
Mail list logo