Guten Tag,
vielen Dank für Ihre Nachricht. Ich bin vom 22. bis 26. Juli viel unterwegs und
kann nur beschränkt auf meine E-Mails zugreifen. Ich werde mich aber
schnellstmöglich bei Ihnen melden.
Freundliche Grüße,
Michael Hnat
___
nginx mailing list
hello,
>Changing the "mp4" location to be "~ -720\.mp4$" means that those ones
>will have the higher rate; but if you don't have a second location{}
>for the other mp4s, they won't see the "mp4" directive, and so may not
>be served correctly.
Yes, i've created different block locations for mp4 fi
On Sun, Jul 21, 2013 at 01:08:18PM -0400, Peleke wrote:
Hi there,
> Okay, it works if I add this:
>
> location ^~ /folder1/admin {
> location ~ \.php$ {
> }
> }
> location ~ \.php$ {
> }
> But that is redundancy and can be complicated if you have
On Sun, Jul 21, 2013 at 02:29:26PM +0500, shahzaib shahzaib wrote:
Hi there,
> Well the rate_limit was 180K before for all the files because i added it
> into the server{} block and these location blocks were actually means the
> rate_limit 180k will apply to any flv,mp4,jpeg file and after addin
Okay, it works if I add this:
location ^~ /folder1/admin {
auth_basic "Login";
auth_basic_user_file
/var/www/domain.tld/www/folder1/admin/.htpasswd;
location ~ \.php$ {
#limit_req zone=limit burst=5 nodelay;
try_files $uri =404;
What rate limit actually applies to it? And did you measure it? ("curl"
is usually a good tool to see what is really happening.)
> location / {
> location ~ \.(flv|jpg|jpeg)$ {
> location ~ \.(mp4)$ {
Well the rate_limit was 180K before for all the files because i added it
into the server
Hello,
I added the 720p in the location{} and checked it by downloading the
single file using wget and got the 500K speed :).
location ~ -720\.(mp4)$ {
mp4;
expires 7d;
limit_rate 500k;
root /var/www/html/tunefiles;
}
That work
On Sun, Jul 21, 2013 at 01:47:57PM +0500, shahzaib shahzaib wrote:
Hi there,
> Following two are the file types whom i want to assign different
> rate_limits :
>
> http://domain.com/files/videos/2013/07/20/137430161313bb6-360.mp4 --->
> limit_rate 180k;
> http://domain.com/files/videos/201
Hello,
Following two are the file types whom i want to assign different
rate_limits :
http://domain.com/files/videos/2013/07/20/137430161313bb6-360.mp4 --->
limit_rate 180k;
http://domain.com/files/videos/2013/07/20/137430161313bb6-720.mp4 -->
limit_rate 500;
Following is the virtualhost c
On Sat, Jul 20, 2013 at 05:01:39PM -0400, Peleke wrote:
Hi there,
> I try to secure a specific folder and all files and subfolders with this
> location block:
>
> location ^~ /folder1/admin {
> auth_basic "Login";
> auth_basic_user_file
> /var/www/domain.tld/www/folder1/adm
10 matches
Mail list logo