Thanks :) I will give this a try :)
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250715,250722#msg-250722
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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,