title: nginx rewrite url problem need help
body: <p>I am new to nginx, and I have installed php (using port 8888) and nginx (using port 80), and I have a static html page as www.aa.com:8888/news/html/about/aboutus/index.html, now I would like to use www.aa.com/test/aboutus.html to visit it, and when doing this, the URL in the browser should not change. How to do this? </p>
  
  <p>I tried some ways, but the link in the browser will just redirect to the new URL string ...</p>
  
  <p>My sample config in the conf file of nginx as below:</p>
  
  <pre><code>    location ^~ /test/aboutus.html {
          proxy_pass   http://127.0.0.1:8888;
          proxy_redirect   default;
          rewrite ^/test/aboutus.html$ /news/html/about/aboutus last;
          break;
      }
  </code></pre>
  
  <p>Thanks a lot!</p>