You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
Right now there is a flag --url_prefix to have the UI be available at http://<ip>:<port>/<url_prefix>. I would also like some way for the UI's dependent javascript, css, etc files to be located at http://<ip>:<port>/<url_prefix>/static instead of http://<ip>:<port>/static. This may be similar to Tensorboard's --path_prefix flag.
Why is this needed:
When http://<ip>:<port>/ (or http://<ip>:<port>/static) is not available, then the front end on http://<ip>:<port>/<url_prefix> produces errors. This may occur when the NNI UI is behind a reverse proxy like Nginx.
Without this feature, how does current nni work:
NNI's UI does not display anything if http://<ip>:<port>/static is not available
Components that may involve changes:
ts/webui
Brief description of your proposal if any:
The text was updated successfully, but these errors were encountered:
Thanks for your report. But seems we are too late for v2.3 release.
For now I suggest to workaround by copying static files to reverse proxy's path and add a special rule. All NNI experiments share same static files so this should work.
We will fix this in v2.4.
What would you like to be added:
Right now there is a flag
--url_prefix
to have the UI be available athttp://<ip>:<port>/<url_prefix>
. I would also like some way for the UI's dependent javascript, css, etc files to be located athttp://<ip>:<port>/<url_prefix>/static
instead ofhttp://<ip>:<port>/static
. This may be similar to Tensorboard's--path_prefix
flag.Why is this needed:
When
http://<ip>:<port>/
(orhttp://<ip>:<port>/static
) is not available, then the front end onhttp://<ip>:<port>/<url_prefix>
produces errors. This may occur when the NNI UI is behind a reverse proxy like Nginx.Without this feature, how does current nni work:
NNI's UI does not display anything if
http://<ip>:<port>/static
is not availableComponents that may involve changes:
ts/webui
Brief description of your proposal if any:
The text was updated successfully, but these errors were encountered: