Hello,
Does nginx provides hostname based bandwidth monitoring? Suppose we've two
virtualhosts:
domain1.com
domain2.com
Now we need to calculate how much bandwidth each virtualhost is consuming
so at the end of the month we can get a monthly bandwidth usage for each
hostname?
Regards.
Shahzaib
PLease check this:
https://pastebin.com/VZKHrM1u
On Fri, Mar 27, 2020 at 8:31 PM Francis Daly wrote:
> On Fri, Mar 27, 2020 at 02:32:07PM +0500, shahzaib mushtaq wrote:
>
> Hi there,
>
> > From ORIGIN (WORKING)
> > https://i.imgur.com/4EJ8VfM.png
> >
> &
>From ORIGIN (WORKING)
https://i.imgur.com/4EJ8VfM.png
>From Edge (Broken SVG)
https://i.imgur.com/MZ6HAsU.png
On Fri, Mar 27, 2020 at 1:34 PM Francis Daly wrote:
> On Wed, Mar 25, 2020 at 07:50:34PM +0500, shahzaib mushtaq wrote:
>
> Hi there,
>
> > We've setup N
Hi,
We've setup Nginx as Edge node. Website is running fine from edge (caching
& proxying requests to origin as required) . However, proxying requests for
.svg showing the following error while origin ndoe loads it fine.
https://i.imgur.com/oYNl7UP.png
Mime-type is also configured in nginx for s
Hi,
We've setup NGINX SMTP proxy in front of postfix. When i try to telnet to
nginx smtp on port 25 it shows the "relay access denied" message.:
https://pastebin.com/JF4TVqBw
Here is the config of nginx:
mail {
server_name mail.domain.com;
auth_http localhost:80/auth.php;
Hi,
We want to achieve following with nginx smtp, please let me know if that's
possible and can you help me with that ?
1) Our software will connect to NGinx on port 25 and will authenticate with
the NGinx in the same manner as it would to SMTP Server.
3) NGinx should then authenticate against an
Ok found it, i mistakenly put http2 header in HTTP section of nginx .
On Fri, Nov 8, 2019 at 6:00 PM shahzaib mushtaq
wrote:
> Hi,
>
> I tried to create a test.html file without any content in it and curl
> request showed following output:
>
> [root@cw025 /tunefiles/tu
Hi,
I tried to create a test.html file without any content in it and curl
request showed following output:
[root@cw025 /tunefiles/tunefiles_git]# curl
http://cw025.domain.com/test.html
€ÿÿ
On Fri, Nov 8, 2019 at 5:10 PM shahzaib mushtaq
wrote:
> Hi,
>
> We just recently received
Hi,
We just recently received an alert against one of our Nginx based server
which has started to download files with any extension e.g .html, .php) on
HTTP instead of processing it. On HTTPS file process fine but on HTTP, even
though its .html extension file it is started to download by the brows
Will very much appreciate if someone can help on it.
On Sun, May 12, 2019 at 5:33 PM shahzaib mushtaq
wrote:
> Hi,
>
> I am able to achieve this by writing the following rule which creates a
> new variable with domain mydomain-com.
>
> if ($host ~* "(\w+)[-.](\w+)")
ing configs to cover subdomains e.g work-mydomain-com but it didn't
worked:
if ($host ~* "(\w+)[-.](\w+)[-.](\w+)") {
set $host_new "$1-$2-$3";
}
==
Any clue where am i wrong?
On Sun, May 12, 2019 at 3:01 PM shahzaib m
Hi,
We've running nginx as reverse proxy for backend domain named "mydomain.com".
On proxy server we've setup vhost that covers domain and all subdomains *.
mydomain.com.
What we need is that if user request to any subdomain like work.mydomain.com,
he should be proxied to single backend mydomain.
t; Sent from my iPhone
>
> > On Jan 13, 2019, at 9:13 AM, shahzaib mushtaq
> wrote:
> >
> > Hi,
> >
> > We've a location like /school for which we want to set browser cache
> lifetime as 'current month'. Suppose /school is accessed on 10th
gt; Set cache expiry flag ?
>
> On Sunday, January 13, 2019, shahzaib mushtaq
> wrote:
>
>> Hi,
>>
>> We've a location like /school for which we want to set browser cache
>> lifetime as 'current month'. Suppose /school is accessed on 10th January,
Hi,
We've a location like /school for which we want to set browser cache
lifetime as 'current month'. Suppose /school is accessed on 10th January,
its cache should be valid until end of January not 10th February and if
accessed on 25th February its validity must be until the end of February
month.
Ok, this worked :
rewrite ^/videos/([0-9]+)/(.*)/(.*)/(.*)/([0-9]+)?
https://domain.com/videos/$1/$2 last;
However, if there's any better rule, please let me know.
Regards.
On Wed, Dec 12, 2018 at 3:01 PM shahzaib mushtaq
wrote:
> Hi,
>
> Need help on constructing the rewrit
Hi,
Need help on constructing the rewrite url in nginx, need to remove last two
parts of uri as stated in example below:
https://domain.com/videos/32/cooking/most_recent/last_year/
to
https://domain.com/videos/32/cooking
https://domain.com/videos/17/tv-showbiz/most_recent/today/
to
https://doma
Hi,
We have a js file which is 1.1Mb large. This file needs to be loaded 100%
in order to load the website which sometimes take bit time.
So we were thinking if there's a way we can split this file request into
multiple requests and make it load parallel with help of nginx?
Regards.
Hi,
We want to include virtual hosts based on the country such as, if country
is "mycountry" include virtual.conf otherwise include default.conf.
However, we tried to achieve that using 'if' but it doesn't support
'include' directive.
Is there any other way of achieving this goal ?
Thanks.
Shahz
ncis Daly wrote:
> On Fri, Oct 06, 2017 at 07:17:39PM +0500, shahzaib mushtaq wrote:
>
> Hi there,
>
> > We're serving mp4 files over NGINX with added security hash+ttl but
> there's
> > some kind of leechers accessing videos with following pattern but not
>
Hi,
We're serving mp4 files over NGINX with added security hash+ttl but there's
some kind of leechers accessing videos with following pattern but not
getting blocked:
https://domain.com/files/videos/2017/10/04/15071356364fc6b-720.mp4?h=n_Saa78MV6BJTcoRHwHelA&ttl=1507303734&;
?*/WhileYouWereSleepi
Hi,
Our Nginx server is configured with two different domain SSL certificates
configured on same ip ;
*.mydomain.com
*.yourdomain.com (Renewed)
We've configured both these certificates vhosts in
/usr/local/etc/nginx/vhosts/ directory. After installing certificate we
tested it with sslshopper and
Hi,
Guys is there anything i am missing with SSL for multiple vhosts due to
which the vhost Order is overlapping the other one ?
Shahzaib
On Fri, Aug 4, 2017 at 2:12 AM, shahzaib mushtaq
wrote:
> I've noticed that its related to the orders of virtual host files. For
> example
both domains is yourdomain.com .
On Fri, Aug 4, 2017 at 2:01 AM, shahzaib mushtaq
wrote:
> Update:
>
> Now i removed vhost for mydomain.com and yourdomain.com is now showing
> correct Common name. So there's some kind of overlapping in vhosts.
>
>
>
> <https://www
tm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 3, 2017 at 9:13 PM, shahzaib mushtaq
wrote:
> Hi,
&g
t=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 3, 2017 at 12:27 PM, Francis Daly
nk>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Wed, Aug 2, 2017 at 11:03 PM, Valentin V. Bartenev
wrote:
> On Wednesday 02 August 2017 21:43:19 shahzaib mushtaq wrote:
> > The only fix that worked is disabling the HTTP2 on Nginx for chrome. No
> > idea what the actual prob
The only fix that worked is disabling the HTTP2 on Nginx for chrome. No
idea what the actual problem is.
On Wed, Aug 2, 2017 at 8:11 PM, Lukas Tribus wrote:
> Hello!
>
>
> > This issue often happens when a cipher is missing in your cipher list and
> > Chrome tries to use another cipher forbidden
Hi,
What could be the exact cipher missing in this case ? Here is the cipher
list i am using , also there's nothing i found of error in ssl labs instead
for two ciphers which it said as WEAK while ssllabs gave A grade.
ssl_ciphers
'ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:D
Hi,
The latest update:
We tested videos on Debian and everything worked smooth, the issue looks to
be on FreeBSD. No idea what is it related to though.
Any guidance will be very much appreciated. :(
Shahzaib
On Wed, Aug 2, 2017 at 1:17 PM, shahzaib mushtaq
wrote:
> Hi Franic,
>
> T
to occur. Here see the
screenshot : http://prntscr.com/g3bqcg
Regards.
Shahzaib
On Wed, Aug 2, 2017 at 12:13 PM, Francis Daly wrote:
> On Tue, Aug 01, 2017 at 06:50:39PM +0500, shahzaib mushtaq wrote:
>
> Hi there,
>
> > Thanks for the answer, the browser is google chrome. G
1, 2017 at 5:37 PM shahzaib mushtaq
> wrote:
>
>> Hi,
>>
>> What fix do you suggest ?
>>
>> Shahzaib
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&ut
k around let me know and
> I'll tell you what to fix
>
> Sent from my iPhone
>
> On Aug 1, 2017, at 2:30 PM, shahzaib mushtaq
> wrote:
>
> Hi,
>
> This error is mostly coming on google chrome. :(
>
> Shahzaib
>
> On Tue, Aug 1, 2017 at 8:51 PM, Etienne
Hi,
This error is mostly coming on google chrome. :(
Shahzaib
On Tue, Aug 1, 2017 at 8:51 PM, Etienne Robillard
wrote:
> Hi,
>
> i think mozilla don't even support SPDY protocol anymore. The replacement
> is HTTP2.
> Best regards,
>
> E
>
> Le 2017-08-01 à
:47:36PM +0500, shahzaib mushtaq wrote:
>
> Hi there,
>
> > It was working well back in days but there's sudden error which is
> > preventing our users to play videos in browser. The error is :
> >
> > GET
> > https://domain.com/files/videos/2017/08/01/150
Hi,
It was working well back in days but there's sudden error which is
preventing our users to play videos in browser. The error is :
GET
https://domain.com/files/videos/2017/08/01/15015680292fcdf-360.mp4?h=vOilKo_cOUft5fViRqIcMg&ttl=1501588832
net::ERR_SPDY_PROTOCOL_ERROR
We're unable to find
Hi,
We're seeing following info logs during serving mp4 videos via nginx :
2017/07/03 15:42:10 [info] 14725#100906: *964419 client timed out (60:
Operation timed out) while sending mp4 to client,
Is there anything we can do to fix it ?
Thanks in advance !!
Shahzaib
t; On Tue, Apr 04, 2017 at 04:39:23PM +0500, shahzaib mushtaq wrote:
>
> Hi there,
>
> > Thanks for quick response. Well its reverse, he's putting our HTTPS video
> > link on his HTTP website. Could that create issue as well? If yes, what's
> > the fix of it.
>
Hi,
Anyone ?
Regards.
On Wed, Apr 5, 2017 at 4:13 PM, shahzaib mushtaq
wrote:
> Hi,
>
> Sometimes we encounter Content mismatch error in browser on website &
> refreshing the page fix this issue. The full error is :
> http://prntscr.com/esp3jr
>
> Here i
Hi,
Sometimes we encounter Content mismatch error in browser on website &
refreshing the page fix this issue. The full error is :
http://prntscr.com/esp3jr
Here is nginx.conf file : https://pastebin.com/VF5L1xXy
Some people on different forums saying its due to proxy cache but we're not
using an
Hi,
Thanks for quick response. Well its reverse, he's putting our HTTPS video
link on his HTTP website. Could that create issue as well? If yes, what's
the fix of it.
Again thanks for your help.
On Tue, Apr 4, 2017 at 4:32 PM, nanaya wrote:
> Hi,
>
> On Tue, Apr 4, 2017,
Hi,
We came across a website who is playing our video links remotely. Since
we've hotlinking protection enabled based on referrer headers so i checked
the request header by playing that video & found out that *referrer header
was missing* in the browser's requests header tab.
Then to generate sam
Hi,
We're seeing following warnings in Nginx error logs :
=
kqueue change list is filled up while SSL handshaking
=
Should we be worried about these warnings ?
Shahzaib
_
Hi,
Sorry guys it was my bad. We have policy to only redirect HTTPS requests,
though the request coming from this ip was with HTTP hence no map policy on
it.
In short, things are working as expected :)
Shahzaib
On Thu, Dec 15, 2016 at 5:35 PM, shahzaib mushtaq
wrote:
> Here is the break d
Here is the break down of subnet 39.32.0.0/11 :
http://prntscr.com/djq88m
According to this, geo policy should be apply to 39.45.X.X as well but its
not .
On Thu, Dec 15, 2016 at 5:11 PM, shahzaib mushtaq
wrote:
> Hi,
>
> We're using nginx geo module to redirect requests
Hi,
We're using nginx geo module to redirect requests from specific
subnets/supernets. If request is coming from following ips, it should be
redirected towards caching node :
geo $qwilt_user {
default 0;
182.184.25.66/32 1;
103.28.152.0/22 1;
203.135.0.0/18 1;
203.99.0.0/16 1;
116.71.
Hi,
Thank you, so it means we can use $limit_rate with map module or something
? Is there any example with limit_rate you can direct me to ?
Thanks again for help !!
On Wed, Dec 7, 2016 at 5:36 PM, Francis Daly wrote:
> On Wed, Dec 07, 2016 at 12:56:49PM +0500, shahzaib mushtaq wrote:
>
Hi,
Hopes you guys are doing great. Currrently, we're looking to activate
rate_limit for our mp4 traffic the only confusion is if we can bypass some
ip/host from rate_limit ?
Thanks in advance !!
Regards.
Shahzaib
___
nginx mailing list
nginx@nginx.org
Hi,
We're facing quite slow uploading speed on FreeBSD-10.X over HTTP (NGINX).
Hardware is quite strong with 4x1Gbps LACP / 65G RAM / 12x3TB SATA .
There's not much load on HDDs so i suspect that maybe tcp tuning has some
problem. Here is my sysctl.conf
http://pastebin.com/MqNbD3VR
Here is /boot
Hi,
We're facing following errors in logs, are they critical ?
2016/09/29 17:23:54 [alert] 9073#0: *190899046 open socket #21 left in
connection 89
2016/09/29 17:23:54 [alert] 9073#0: *190585499 open socket #258 left in
connection 112
2016/09/29 17:23:54 [alert] 9073#0: *190997493 open socket #19
Hi,
Is there a way we can set NGINX to redirect only if Caching node is UP
otherwise serve from origin server ? Here is more details about the
scenario :
We've two servers (Origin & Cache) & here is the request scenario:
- client (1.1.1.1) requests a file to origin server
- Origin checks if ip i
taking approach where URL will construct on server &
distribute to all platforms.
Is that how it should be ?
Thanks.
Shahzaib
On Wed, Aug 10, 2016 at 12:24 PM, Francis Daly wrote:
> On Wed, Aug 10, 2016 at 12:07:58PM +0500, shahzaib mushtaq wrote:
>
> Hi there,
>
> > We've d
Hi,
We've depolyed NGINX ngx_*http*_*secure*_*link*_module in our website based
on php programming & its working well. Player is providing correct
hash+expiry to serve links.
Though we're facing problem authenticating md5 from iphone mobile which is
generating md5 based on C objective language &
Looks like, its working now. Added root directive under server {} section &
link got loaded into the browser though 403 still occurs in terminal when
calling with curl (not much to worry about i guess) .
On Wed, Aug 3, 2016 at 10:17 PM, shahzaib mushtaq
wrote:
> H,
>
> Can you p
H,
Can you please help to fix it ? expire= is already fixed but issue still
persists.
Regards.
Shahzaib
On Wed, Aug 3, 2016 at 9:30 PM, shahzaib mushtaq
wrote:
> Hi,
>
> Thanks for response though i already had fixed this mistake, during
> copy/paste the commands on this forum
On Wed, Aug 03, 2016 at 08:38:36PM +0500, shahzaib mushtaq wrote:
>
> > Hi,
> >
> > We've configured nginx --with-http_secure_link_module to secure the mp4
> > links. Currently we're testing it with very basic settings. Following is
> > brief explanat
Hi,
We've configured nginx --with-http_secure_link_module to secure the mp4
links. Currently we're testing it with very basic settings. Following is
brief explanation of our lab :
A test.mp4 file is located under directory /tunefiles/files/test.mp4 . Our
objective is to access this file over secu
57 matches
Mail list logo