URL is not pointing to https on iframe

2016-10-03 Thread Geo P.C.
In our site we are loading a calnedar api function that works on http ( cdn.instantcal.com) . While loading this site on our wordpress site with https its not working and getting an error: "Mixed Content: The page at ' https://www.geo.com/wp-admin/post.php?post=362=edit' was loaded over HTTPS,

Re: specific to index.php rest of them index.html

2016-10-03 Thread Tseveendorj Ochirlantuu
This is for symfony2 project. location ~ /location1 { fastcgi things; } location ~ /location2 { fastcgi things; } location ~ /location3 { fastcgi things; } location / { index index.html; } Above examples how fit to symfony2 below. Mine is # dev location ~

Re: URL is not pointing to https on iframe

2016-10-03 Thread Yuriy Medvedev
Hi, please use $scheme proxy_set_header X-Forwarded-Proto $scheme; 2016-10-03 16:58 GMT+03:00 Geo P.C. : > In our site we are loading a calnedar api function that works on http ( > cdn.instantcal.com) . While loading this site on our wordpress site with > https its not working

Re: nginx worker process exited on signal 7

2016-10-03 Thread Maxim Dounin
Hello! On Mon, Oct 03, 2016 at 11:04:39AM -0400, smaig wrote: > i've followed this > tutorial(https://www.c-rieger.de/nextcloud-installation-guide/) to configure > nginx for nextcloud on a raspberry pi 3 but using Raspbian OS instead of > Ubuntu. > > I guess the only specific thing in this

nginx worker process exited on signal 7

2016-10-03 Thread smaig
Hello team, i've followed this tutorial(https://www.c-rieger.de/nextcloud-installation-guide/) to configure nginx for nextcloud on a raspberry pi 3 but using Raspbian OS instead of Ubuntu. I guess the only specific thing in this installation is that we used "ngx_cache_purge-2.3" args to compile

specific to index.php rest of them index.html

2016-10-03 Thread Tseveendorj Ochirlantuu
Hello, I need to configure some locations go to index.php rest go to index.html if ($request_uri !~ ^/(location1|location2|location3)$ ) { rewrite ^(.*) /index.html; } but how to else ? if the request contains location1, location2, location3 goes to fastcgi_pass

Re: specific to index.php rest of them index.html

2016-10-03 Thread Richard Stanway
Why not use the location directive? This is what it is designed for. http://nginx.org/en/docs/http/ngx_http_core_module.html#location On Mon, Oct 3, 2016 at 12:28 PM, Tseveendorj Ochirlantuu < tseveend...@gmail.com> wrote: > Hello, > > I need to configure some locations go to index.php rest go

Применение директивы для определенного IP адреса

2016-10-03 Thread maxpostal
Здравствуйте! Подскажите можно ли применять директивы для определенного IP адреса, а точнее для всех адресов, кроме указанного. Использую модули ngx_http_limit_req_module и ngx_http_limit_conn_module, так вот, можно ли ограничить их действие для определенного IP, указав, что-то типа: if

Re: Применение директивы для определенного IP адреса

2016-10-03 Thread Иван
Здравствуйте! http://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req_zone "Запросы с пустым значением ключа не учитываются. " То есть делайте что-то типа map $http_x_forwarded_for $key { 10.0.0.1 1; } limit_req_zone $key zone=one:10m rate=1r/s; location /download/ {

Re: [PATCH] - flastmod SSI command

2016-10-03 Thread Rastislav Stanik
On 09/21/2016 08:55 PM I've sent a patch http://mailman.nginx.org/pipermail/nginx-devel/2016-September/008815.html that adds support for "flastmod" SSI command. I got no feedback. I'm not that familiar with local culture, so I hope I'm not too annoying by sending this again: # HG changeset patch

Re: [PATCH] Upstream: fix warning when building with BoringSSL

2016-10-03 Thread Maxim Dounin
Hello! On Fri, Sep 30, 2016 at 05:50:27AM -0700, Piotr Sikora wrote: > Hey Alessandro, > > > # HG changeset patch > > # User Alessandro Ghedini > > # Date 1475070884 -3600 > > # Wed Sep 28 14:54:44 2016 +0100 > > # Node ID

Re: "client prematurely closed connection" между двумя nginx

2016-10-03 Thread Evgeniy Berdnikov
On Sun, Oct 02, 2016 at 10:03:06PM -0400, Trurl wrote: > Evgeniy Berdnikov Wrote: > --- > > On Sat, Oct 01, 2016 at 09:59:51PM -0400, Trurl wrote: > > > > > Заголовок content-length: присутствует в ответе? > > на выходе получается 415я

[njs] A "var" statement termination has been fixed.

2016-10-03 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/b3e83fa52345 branches: changeset: 186:b3e83fa52345 user: Igor Sysoev date: Fri Sep 30 14:11:27 2016 +0300 description: A "var" statement termination has been fixed. diffstat: njs/njs_parser.c| 19 +++-

[nginx] Resolver: introduced state field in ngx_resolver_srv_name_t.

2016-10-03 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/c3e3de6d2672 branches: changeset: 6714:c3e3de6d2672 user: Dmitry Volyntsev date: Thu Sep 29 19:40:47 2016 +0300 description: Resolver: introduced state field in ngx_resolver_srv_name_t. It keeps the actual state value of a

Re: Inconsistent order for ngx_destroy_pool() and ngx_close_connection()

2016-10-03 Thread Lawrence Stewart
Hi Ruslan, On Mon, Oct 3, 2016 at 6:45 PM, Ruslan Ermilov wrote: > On Mon, Oct 03, 2016 at 03:37:38PM +1100, Lawrence Stewart wrote: > > Hi all, > > > > I need to pull kernel data using getsockopt() for a connection prior to > the > > socket being closed. A pool cleanup handler

Re: "client prematurely closed connection" между двумя nginx

2016-10-03 Thread Валентин Бартенев
On Saturday 01 October 2016 21:59:51 Trurl wrote: > У меня есть несколько "уровней" nginx, один из серверов занимается отдачей > статики непосредственно с файлера. > При отдаче больших галерей часть фалов (совершенно рандомно) не может отдать > нижестоящему nginx. > В error.log файлера ошибки типа

[nginx] Modules compatibility: removed two NGX_HAVE_DEFERRED_ACCEPT checks.

2016-10-03 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/48bab8b83f4e branches: changeset: 6721:48bab8b83f4e user: Ruslan Ermilov date: Mon Oct 03 15:58:30 2016 +0300 description: Modules compatibility: removed two NGX_HAVE_DEFERRED_ACCEPT checks. Removed (NGX_HAVE_DEFERRED_ACCEPT &&

[nginx] Modules compatibility: removed unneeded IPV6_V6ONLY checks.

2016-10-03 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/cebf5fed00bf branches: changeset: 6719:cebf5fed00bf user: Maxim Dounin date: Mon Oct 03 15:58:25 2016 +0300 description: Modules compatibility: removed unneeded IPV6_V6ONLY checks. The IPV6_V6ONLY macro is now checked only

[nginx] Modules compatibility: http2.

2016-10-03 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/bdf64ae3376b branches: changeset: 6718:bdf64ae3376b user: Maxim Dounin date: Mon Oct 03 15:58:22 2016 +0300 description: Modules compatibility: http2. HTTP/2-specific fields in structures are now available unconditionally.

[nginx] Introduced the NGX_COMPAT macro.

2016-10-03 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/d200a0fd00b7 branches: changeset: 6715:d200a0fd00b7 user: Ruslan Ermilov date: Thu Sep 29 15:28:24 2016 +0300 description: Introduced the NGX_COMPAT macro. When enabled, some structures are padded to be size compatible with

[nginx] Modules compatibility: removed unneeded NGX_HAVE_REUSEPORT checks.

2016-10-03 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/9170240f1241 branches: changeset: 6720:9170240f1241 user: Maxim Dounin date: Mon Oct 03 15:58:29 2016 +0300 description: Modules compatibility: removed unneeded NGX_HAVE_REUSEPORT checks. Removed NGX_HAVE_REUSEPORT from the

[nginx] Modules compatibility: --with-compat configure option.

2016-10-03 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/57c8e12c460c branches: changeset: 6716:57c8e12c460c user: Maxim Dounin date: Mon Oct 03 15:58:16 2016 +0300 description: Modules compatibility: --with-compat configure option. diffstat: auto/modules | 12