# Unable to load static files CSS and JS using path based routing

**URL:** <https://forums.suse.com/t/unable-to-load-static-files-css-and-js-using-path-based-routing/10728>\
**Category:** General\
**Created:** [June 12, 2018, 11:35am UTC](https://forums.suse.com/t/unable-to-load-static-files-css-and-js-using-path-based-routing/10728 "2018-06-12T11:35:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![s\_k](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@s\_k](https://forums.suse.com/u/s_k)\
**Post date:** [June 12, 2018, 11:35am UTC](https://forums.suse.com/t/unable-to-load-static-files-css-and-js-using-path-based-routing/10728/1 "2018-06-12T11:35:35Z")

</div>

Hi,

Using path based routing between my containers using the same:

Rancher (1.X) and HAProxy (1.6.3)

Service rules:

Request Host | PORT | PATH | Target | Port  
[sec.app.company.com](http://sec.app.company.com) 8080 /frontend-app frontend-container 3000  
[sec.app.company.com](http://sec.app.company.com) 8080 /user-api user-api-container 4000

Now I make call to host/user-api/get-users — \> this working fine, I’m getting the response from user-api-container with “/get-users” endpoint.

Whereas If I make call to host/frontend-app which was angular app ,rendering of all the static assets (CSS and JS ) with absolute path were failing and getting 503 response.

Any suggestion please , If I missed something ??
