<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Let's start by a huge RTFM?<br><a href="http://nginx.org/en/docs/">http://nginx.org/en/docs/</a><br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">
This ML is no customer service for lazy people, I guess.<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">You may up for services to make other people do your job: <a href="http://nginx.com/services.html">http://nginx.com/services.html</a><br>
<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Best regards,<br></div><div class="gmail_extra"><div><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div>
<br><br><div class="gmail_quote">On Fri, May 24, 2013 at 1:39 PM, Sergio Belkin <span dir="ltr"><<a href="mailto:sebelk@gmail.com" target="_blank">sebelk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>H folks!<br><br></div><div>I am completeley newbie to nginx<br></div><div><br></div>I have the following config<br><br> # Forward request to /demo to tomcat. This is for<br> # the BigBlueButton api demos.<br>
location /demo {<br> rewrite ^ /upvc;<br> proxy_pass <a href="http://127.0.0.1:8080" target="_blank">http://127.0.0.1:8080</a>;<br> proxy_redirect default;<br> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>
<br> # Allow 30M uploaded presentation document.<br> client_max_body_size 30m;<br> client_body_buffer_size 128k;<br><br> proxy_connect_timeout 90;<br> proxy_send_timeout 90;<br>
proxy_read_timeout 90;<br><br> proxy_buffer_size 4k;<br> proxy_buffers 4 32k;<br> proxy_busy_buffers_size 64k;<br> proxy_temp_file_write_size 64k;<br>
<br> include fastcgi_params;<br> }<br><br><br>location /upvc {<br> alias /var/lib/tomcat6/webapps/demo;<br> index demo3.jsp;<br> expires 1m;<br>}<br clear="all"><div><div><br><br>
</div>
<div>Rewrite is working but nginx is not. proxying to tomcat, because of that returns the jsp file as a plain text file.<br><br></div><div>Please could you help me?<br><br></div><div>Thanks in advance!<span class="HOEnZb"><font color="#888888"><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br>
--<br>Sergio Belkin <a href="http://www.sergiobelkin.com" target="_blank">http://www.sergiobelkin.com</a><br>Watch More TV <a href="http://sebelk.blogspot.com" target="_blank">http://sebelk.blogspot.com</a><br>LPIC-2 Certified - <a href="http://www.lpi.org" target="_blank">http://www.lpi.org</a>
</div></font></span></div></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>