Hello,
I try to block wildcard sub domains as follows:
# block wildcard
server {
server_name ~^(.*)\.example\.com$ ;
root /usr/share/nginx/www;
error_page 403 /index.html;
allow 127.0.0.1;
deny all;
access_log off;
log_not_found off;
}
I always get the default 403 Forbidden site
Here is my solution:
server {
server_name ~^(.*)\.example\.com$ ;
return 200;
deny all;
access_log off;
log_not_found off;
}
Am 06.06.2014 09:48, schrieb basti:
Hello,
I try to block wildcard sub domains as follows:
# block wildcard
server {
server_name
See http://trac.nginx.org/nginx/ticket/132
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250689,250692#msg-250692
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Fri, Jun 06, 2014 at 06:13:15AM -0400, itpp2012 wrote:
See http://trac.nginx.org/nginx/ticket/132
Unlikely it's related.
--
Maxim Dounin
http://nginx.org/
___
nginx mailing list
nginx@nginx.org
On 6 June 2014 12:41, nginxsantos nginx-fo...@nginx.us wrote:
Would be great where channels are used, I am talking about ngx_channel?
Please rearrange your words into a comprehensible sentence and/or question.
Thank you.
___
nginx mailing list
I was not clear about the usage of ngx_channel? When each worker process is
started, the function ngx_pass_open_channel is called. It is not clear to
me where we do use the channels, I mean for what ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250697#msg-250697
Hello!
On Fri, Jun 06, 2014 at 08:14:25AM -0400, nginxsantos wrote:
I was not clear about the usage of ngx_channel? When each worker process is
started, the function ngx_pass_open_channel is called. It is not clear to
me where we do use the channels, I mean for what ?
Channels are used to
Thanks Maxim. It helps...
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250700#msg-250700
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Thu, Jun 05, 2014 at 06:20:35PM +0300, Reinis Rozitis wrote:
We run a reverse proxy to Amazon S3 service. Sometime Amazon change their
IPs and some of them may become unresponsive and render reservse proxy
unusuable. Is there options to force nginx to re-resolve IPs of backends
@itpp I am currenlty proceeding with proxy_cache method just because i had
to done this in emergency mode due to boss pressure :-|. I have a quick
question, can i make nginx to cache files for specific clients ?
Like, if our caching servers are deployed by only single ISP named ptcl.
So if ip
shahzaib1232 Wrote:
---
@itpp I am currenlty proceeding with proxy_cache method just because i
had
to done this in emergency mode due to boss pressure :-|. I have a
quick
question, can i make nginx to cache files for specific clients ?
Hello!
On Fri, Jun 06, 2014 at 11:13:10AM -0400, Roy Phillips wrote:
Hi all,
We have a handful of users in the UK that are getting the error (screenshot
attached) We narrowed it down to the ISP/Router ³Virgin BT² ISP or Home Hub
2.0.
If they use another ISP or even tether to an iPhone
Thanks a lot itpp. :) I'll look into it and get back to you.
Thanks again for quick solution :)
On Fri, Jun 6, 2014 at 8:26 PM, itpp2012 nginx-fo...@nginx.us wrote:
shahzaib1232 Wrote:
---
@itpp I am currenlty proceeding with proxy_cache
Thanks,
Our application doesn’t use NGINX or our hosting provider in the USA.
When the user drags and drops images in the webpage app that’s when they
get the error containing NGINX.
We suspect their ISP or Router uses NGINX on the backend but can’t confirm
with level 1 support over there.
Is
I use arch linux and install nginx from arch repo , every thing is OK, I
want use nginx for use play flash game and swf game , i download many swf
files and make swf directory in
/usr/share/nginx/html
and put all swf files in swf directory and after that I set 755 for swf
directory and set 644 for
Ok thank for clarifications Max
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250669,250713#msg-250713
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Fri, Jun 06, 2014 at 11:57:22AM -0400, mfaridi wrote:
Hi there,
http://127.0.0.1/swf
I see this error
403 Forbidden
and I can not play sw game
but when I type
http://127.0.0.1/swf/pacman.swf
every thing is good and I can flash game
what is problem ?
What does error_log say?
Most
Hi everyone,
I would like to check whether this is possible with nginx (on ubuntu 12.04
LTS 64 bits).
I have a website
www.mywebpage.com.my
this is just another website.
There is a login button. When someone click on this login button, it would
redirect them to https://erp.mywebpage.com.my.
Hello,
Assuming your VPN subnet is 10.10.1.0/24, In your server{} block on
erp.mywebpage.com.my you will want to put the following.
allow 10.10.1.0/24;
deny all;
error_page 403 = @403;
location @403 {
echo You are not authorized to view this page
}
On Fri, Jun 6, 2014 at 6:07 PM,
Hello!
On Fri, Jun 06, 2014 at 10:38:33AM +0800, liubin wrote:
Hello:
Who can tell me the Difference between NGX_DIRECT_CONF and
NGX_MAIN_CONF ?
If a command is NGX_DIRECT_CONF,it must be NGX_MAIN_CONF?
The NGX_MAIN_CONF specifies context of the directive.
The
Hello!
On Fri, Jun 06, 2014 at 12:57:38AM -0400, Ameir Abdeldayem wrote:
Hello,
I am investigating the complexity of allowing for an additional parameter,
expired, to proxy_cache_use_stale.
Instead of a request hitting the backend with an $upstream_cache_status of
EXPIRED and making the
Hello Maxim,
Thanks for your feedback. Yes, proxy_cache_use_stale updating does do a
great job, but the first request is the first request per TTL, which
relates to the problem we're facing.
We run some high-profile sites, oftentimes with low TTLs (1m or so). The
queries we run on the backend
[...]
начал ловить те же баги на не пропатченном Nginx на другом сервере
с меньшей нагрузкой, этот патч в опен-сорсе очень бы не помешал!
Код в процессе внутреннего ревью.
--
Maxim Konovalov
http://nginx.com
___
nginx-ru mailing list
On 06 Jun 2014, at 14:27, Maxim Konovalov ma...@nginx.com wrote:
[...]
начал ловить те же баги на не пропатченном Nginx на другом сервере
с меньшей нагрузкой, этот патч в опен-сорсе очень бы не помешал!
Код в процессе внутреннего ревью.
Отличная новость в пятницу, спасибо!
--
Maxim
24 matches
Mail list logo