Re: how to block excluding specific url in nginx?

2014-11-27 Thread goversation
Thank you for replying. You'll get blessed. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255147,255191#msg-255191 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: how to block excluding specific url in nginx?

2014-11-27 Thread goversation
thanks a lot :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255147,255192#msg-255192 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: how to block excluding specific url in nginx?

2014-11-27 Thread goversation
thanks for replying. but I meant that location allow only "/" and "/blah". I want to deny the others except "/" . example is as follows. abc.com/ = OK abc.com/blah/ = OK abc.com/dd = 403 abc.com/... = 403 help me again! Posted at Nginx Forum: http://forum.ngi

Re: how to block excluding specific url in nginx?

2014-11-26 Thread goversation
thanks for replying but I meant that location allow only "/" and "/blah" I want to deny the others except "/" example is as follows abc.com/ = OK abc.com/blah/ = OK abc.com/dd = 403 abc.com/... = 403 help me again! Posted at Nginx Forum: http://forum.nginx.o

how to block excluding specific url in nginx?

2014-11-26 Thread goversation
hi. i have a trouble and question! my current configuration in nginx is like .. only "/blah/" url can access.. server { location / { return 403; } location ^~ /blah/ { proxy_pass http://127.0.0.1:; } } =

nginx rewrite configuration

2014-01-02 Thread goversation
hi! i'm newbie so having a hard time! I have a question about rewrite configure in nginx! RULE is http://URL/[option]/http://URL . I mean... for example, if request is http://aaa.net/25X25/http://bbb.net/ccc.jpg , rewrite is /25X25/bbb.net.jpg should i use regular expression? please help me!