Reputation
Badges 1
7 × Eureka!Thanks for your reply, I deploy clearml webserver in k8s successfully, and I can access it through http://<ip>:30080/
.
Now, I want access it through a nginx server, eg http://<my-domain>/clearml
, after I configured nginx, I got a empty page.
I saw <script src="runtime-es2015.6afafe9b333cf9dcff7d.js" crossorigin="use-credentials" type="module">
in the html resource code, it will load http://<my-domain>/runtime-es2015.6afafe9b333cf9dcff7d.js
instead of ` http://<...
Yes, you can do that. But it's not a good method to resolve this problem, I have many applications, temporarily configuring nginx to intercept these requests is not elegant enough.
If I can config the prefix path of webserver, nginx routing will become very simple.
In addition, upgrade the webserver is also very complicated due to the new version file name change,
Looking forward to the update of the webserver source code on github! 😆
Unless you modify the html code, it will always load absolute url path, so it's not the problem of webserver's nginx config.