Hi,
I need to rewrite my URL like
http://www.mysite.com/abc    >>>    /abc
                                               >>>    /abc/styles/sample.css
                                                >>>  /abc/styles/sample2.css
                                                >>>  /abc/styles/sample3.css


Here is my rewrite rule:
set $upstream_abc https://internal-abc.demo.com:444;

location ^~ /abc/ {             proxy_set_header x-forwaded-for 
$proxy_add_x_forwarded_for;             rewrite ^/abc/(.*) /$1 break;           
  proxy_pass $upstream_abc$uri$is_args$args;        }


The page does load, however the static css files are not loading. Any help on 
this will be much appreciated.


Thanks,Pratheep




_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to