<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hi,</div><div><br></div><div>I need to rewrite my URL like</div><div><br></div><div><a href="http://www.mysite.com/abc" rel="nofollow" target="_blank">http://www.mysite.com/abc</a> >>> /abc<br></div><div> >>> /abc/styles/sample.css<br></div><div> >>> /abc/styles/sample2.css<br></div><div> >>> /abc/styles/sample3.css<br></div><div><br></div><div><br></div><div>Here is my rewrite rule:</div><div><br></div><div><span>set $upstream_abc </span><a href="https://b-241a44ed-76fd-415b-bbb8-e0f4c91edb07-1.mq.us-east-1.amazonaws.com:8162;" rel="nofollow" target="_blank">https:/</a>/internal-abc.demo.com:444;<br></div><div><br></div><div><span><div>location ^~ /abc/ {</div><div> proxy_set_header x-forwaded-for $proxy_add_x_forwarded_for;</div><div> rewrite ^/abc/(.*) /$1 break;</div><div> proxy_pass $upstream_abc$uri$is_args$args;</div><div> }</div><div><br></div><div><br></div><div><br></div><div>The page does load, however the static css files are not loading. Any help on this will be much appreciated.</div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Pratheep</div><div><br></div><div><br></div><div><br></div></span><br></div><div><br></div></div></body></html>