Rate limit per day

2016-10-03 Thread nitin bhadauria
Hello Team, Is it possible to use Module ngx_http_limit_req_module to rate limit request / day ? Regards, Nitin B. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

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 127.0.0.1:900

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

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 ~ ^(app_dev|config)\.php$

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&action=edit' was loaded over HTT

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 and getting an erro

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 n

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 insta