Re: Rewriting and proxy problem

2013-05-27 Thread Francis Daly
On Mon, May 27, 2013 at 11:31:37AM -0300, Sergio Belkin wrote: Hi there, > I'd want that when you type http://example.com/upvc proxies the > /var/lib/tomcat6/webapps/demo/ > demo3.jsp file to tomcat Just for clarity, "proxy_pass" proxies to a url, not to a file. So you probably want it to proxy

Re: Rewriting and proxy problem

2013-05-27 Thread Sergio Belkin
2013/5/27 Sergio Belkin > > 2013/5/25 Francis Daly > >> On Fri, May 24, 2013 at 02:39:58PM -0300, Sergio Belkin wrote: >> >> Hi there, >> >> > I am completeley newbie to nginx >> >> Welcome. >> >> The nginx config follows its own logic, which may not match your previous >> experiences. When you

Re: Rewriting and proxy problem

2013-05-27 Thread Sergio Belkin
2013/5/25 Francis Daly > On Fri, May 24, 2013 at 02:39:58PM -0300, Sergio Belkin wrote: > > Hi there, > > > I am completeley newbie to nginx > > Welcome. > > The nginx config follows its own logic, which may not match your previous > experiences. When you understand that, you'll have a much bette

Re: Rewriting and proxy problem

2013-05-25 Thread Francis Daly
On Fri, May 24, 2013 at 02:39:58PM -0300, Sergio Belkin wrote: Hi there, > I am completeley newbie to nginx Welcome. The nginx config follows its own logic, which may not match your previous experiences. When you understand that, you'll have a much better chance of knowing the configuration you

Re: Rewriting and proxy problem

2013-05-24 Thread B.R.
Let's start by a huge RTFM? http://nginx.org/en/docs/ This ML is no customer service for lazy people, I guess. You may up for services to make other people do your job: http://nginx.com/services.html Best regards, --- *B. R.* On Fri, May 24, 2013 at 1:39 PM, Sergio Belkin wrote: > H folks! >

Rewriting and proxy problem

2013-05-24 Thread Sergio Belkin
H folks! I am completeley newbie to nginx I have the following config # Forward request to /demo to tomcat. This is for # the BigBlueButton api demos. location /demo { rewrite ^ /upvc; proxy_pass http://127.0.0.1:8080; proxy_redir