Quantcast
Channel: Nginx Forum
Browsing all 53287 articles
Browse latest View live

Re: safe to call ngx_http_subrequest inside location handler?

Hello!On Tue, May 28, 2013 at 04:03:07AM -0400, jesse wrote:> Hello,>> So according to evan miller's tutorial and nginx's own source code, it seems> only filters can send subrequests. But I...

View Article


Use rewrite map twice

Hello!I'd like to rewrite requests with or without a slash on the end by a rewrite map. Here are the relevant config lines.map $in $out {/path1/ /target1/;/path2/ /target2/;...};server {...set $in...

View Article


Re: 404 on Prestashop 1.5 under nginx

The problem is solved.The issue was on Prestashop.

View Article

Re: Request: IP2Location Lite with Zip Code

You can query a GeoIP database in your application code.See:http://php.net/manual/en/book.curl.phphttp://dev.maxmind.com/geoip/legacy/install/city

View Article

Re: safe to call ngx_http_subrequest inside location handler?

I see. Thanks, Maxim!

View Article


Nginx reverse proxy + Magento+ html redirection not working

Hi Support,I installed nginx reverse proxy in my server. All are working are working well expect redirection to .html pages.MY site is magento and test.com/default is working but...

View Article

Re: fastcgi_read_timeout with PHP backend

Hello Maxim,I spent a lot of time trying to figure out what is happening.It seems that after some service restart, the problem sometimes disappearbefore coming back again on the following try.I finally...

View Article

Error message: invalid number of arguments in "proxy_pass" directive ...

Hello guysI'm using nginx as a load balancer between 2 apache webservers for a school assignment, but i can't get it working. My nginx server (running on ubuntu server) won't start...He keeps giving...

View Article


Re: Error message: invalid number of arguments in "proxy_pass" directive ...

On Tue, May 28, 2013 at 02:35:33PM -0400, ZyntraX wrote:Hi there,> He keeps giving met this error:> [emerg] invalid number of arguments in "proxy_pass" directive in>...

View Article


permanent redirect для всех запросов кроме одного

Есть следующий конфиг для перманентного редиректа HTTP на HTTPS:server {listen 80;server_name admin.sonru.com;rewrite ^(.*) https://$host$1 permanent;}Задача в том, чтобы теперь перенаправлять...

View Article

Re: permanent redirect для всех запросов кроме одного

On May 28, 2013, at 11:16 PM, Anatoly Mikhailov <anatoly@sonru.com> wrote:> Есть следующий конфиг для перманентного редиректа HTTP на HTTPS:>> server {> listen 80;> server_name...

View Article

Re: permanent redirect для всех запросов кроме одного

location / {rewrite ^(.*) https://$host$1 permanent;}location = /health-check {return 200;}29 мая 2013 г., 8:23 пользователь Anatoly Mikhailov <anatoly@sonru.com>написал:>> On May 28, 2013,...

View Article

Re: permanent redirect для всех запросов кроме одного

On Wednesday 29 May 2013 02:23:46 Anatoly Mikhailov wrote:> On May 28, 2013, at 11:16 PM, Anatoly Mikhailov <anatoly@sonru.com> wrote:> > Есть следующий конфиг для перманентного...

View Article


Re: уведомление о переходе на слейв

28.05.2013 10:33, Михаил Монашёв пишет:> Или единственный сервер в апстриме, который не помечен как backup.Да. Сервер, на который приходят сами запросы.> Подозреваю, что Денис пишет на php....

View Article

Увеличение latency при старте nginx

Здравствуйте.Столкнулся с достаточно загадочной для меня ситуацией.Ping сервера с выключенным nginxicmp_req=9 ttl=61 time=0.652 msЧерез 3 минуты после старта nginxicmp_req=129 ttl=61 time=229 msСервер...

View Article


Re: Увеличение latency при старте nginx

Hello!On Tue, May 28, 2013 at 08:37:17PM -0400, aageyev wrote:> Здравствуйте.>> Столкнулся с достаточно загадочной для меня ситуацией.>> Ping сервера с выключенным nginx>>...

View Article

1.4.1 SPDY error FIXME: chain too big in spdy filter

Hi,Running 1.4.1 and using SPDY and SSL extensively (exclusively, actually).Seeing a ton (thousands) of errors in the error log, similar to:2013/05/29 00:22:53 [alert] 25981#0: *8781732 FIXME: chain...

View Article


Re: Увеличение latency при старте nginx

netstat/trafshow/nettop/iftop смотрите в момент запуска.

View Article

Re: Увеличение latency при старте nginx

Посмотрите также /var/log/kern.log на наличие "possible syn flooding"29 мая 2013 г., 11:11 пользователь skeletor <nginx-forum@nginx.us> написал:> netstat/trafshow/nettop/iftop смотрите в...

View Article

Re: Увеличение latency при старте nginx

29.05.2013 04:37, aageyev пишет:> Здравствуйте.Добрый день!> Столкнулся с достаточно загадочной для меня ситуацией.>> Ping сервера с выключенным nginx> icmp_req=9 ttl=61 time=0.652...

View Article
Browsing all 53287 articles
Browse latest View live