Just to complete the information, in my case I have two configuration according with the web server, so: # TO VARNISH location / { proxy_redirect off; # Do not redirect this proxy - It needs to be pass-through proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Server-Address $serveby thigomes - Nginx Mailing List - English
Hi guys, I'm studying about in the use of upstream in the nginx. And I have a question about the condition of use it. Now, I have the following environment in production: Internet -- > Nginx --> Varnish --> Apache I would like of set in upstream a backup's server, for example: upstream backend { ip_hash; server 192.168.1.5:6081; # varnish server server 192.168by thigomes - Nginx Mailing List - English
Hi, Thank you for the update. Follows the request Headers: GET / HTTP/1.1 Host: www.modelodepeticoes.com.br User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Connection: keep-alive Cookie: PHPSESSID=6osir0by thigomes - Php-fpm Mailing List - English
Hi, The following errors, for example: "Ações Autônomas" "Ação de Reconhecimento de União Estável com Petição de Herança BC317" I'm using the version installed by yum: CentOS release 6.3 (Final) PHP 5.3.15 (fpm-fcgi) (built: Jul 20 2012 12:52:37) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologiesby thigomes - Php-fpm Mailing List - English
Folks, I manage a server with nginx + php-fpm. I observed that after some time the website is rendered with lot of encoding errors. But the error is solves just after restart php-fpm. Also, I set charset in php.ini and nginx com utf-8. Has anyone had a similar problem with that? Regards, Thiago Gomesby thigomes - Php-fpm Mailing List - English
Folks, I manage a server with nginx + php-fpm. I observed that after some time the website is rendered with lot of encoding errors. But the error is solves just after restart php-fpm. Also, I set charset in php.ini and nginx com utf-8. Has anyone had a similar problem with that? Regards, Thiago Gomesby thigomes - Php-fpm Mailing List - English
![]() |
![]() |
![]() |
![]() |
|