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, ericmachi
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. Ho
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?
M
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
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
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 t
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 wrote:
> shahzaib1232 Wrote:
> ---
> > @itpp I am currenlty proceeding with proxy_cache method just becau
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 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 ?
>
@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 fr
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
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 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 t
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
___
On 6 June 2014 12:41, nginxsantos 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
nginx@nginx.org
http://ma
Would be great where channels are used, I am talking about ngx_channel?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250694#msg-250694
___
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
http://mailman.nginx.org/mailman/listinfo/n
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
On 6 Jun 2014 08:49, "basti" wrote:
>
> 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;
> lo
nginx >= 1.5.7
nginx-lua-module >= 0.9.8 (possibly older version)
CentOS 6
# ./sbin/nginx -V
nginx version: nginx/1.5.7
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
configure arguments: --add-module=../lua-nginx-module
Config file
user nginx;
worker_processes 1;
error_log /var/log/nginx/
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 ~^(.*)\.ex
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" sit
22 matches
Mail list logo