Actually in my nginx file, I don't use
--prefix-path, I just forward all
/ path to a sub directory to domain. The config is as follows:
In this case the final requests url has a base path, but the font requests from browser always request from root path. A workaroud is to add another rule to nginx, and the config becomes
However, this messes up my root configuration.
The font requests from browser always request from root
http://host/font-roboto/. If there's a prefix path (either from
--path_prefix or other configurations), extra efforts must be done to process the font
requests. For standalong tensorboard, running
tensorboard --path_prefix=/abc/ --logdir=logs and requesting http://localhost:6006/abc/ always give 404 errors.