How to use route reverse proxy absolute path static assets?

i want use sub path proxy “dozzle” service

 http://example.com/dozzle/

this frontend page use absolute path link assets.

<script type="module" src="/assets/main-DpSOnPeK.js"></script>

error link:
http://example.com/assets/main-DpSOnPeK.js
so,can’t found these assets.
right link:
http://example.com/dozzle/assets/main-DpSOnPeK.js

Cdddyfile:

example.com{
  route /dozzle* {
     uri strip_prefix /dozzle
     reverse_proxy http://dozzle:8080
     redir /dozzle /dozzle/
   }
}

See this article:

Please fill out the help topic template as per the forum rules.

1 Like

ok.i will.