Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a UI reverse proxy guide #6410

Closed
DingoEatingFuzz opened this issue Oct 1, 2019 · 6 comments
Closed

Write a UI reverse proxy guide #6410

DingoEatingFuzz opened this issue Oct 1, 2019 · 6 comments
Assignees
Labels
theme/docs Documentation issues and enhancements type/enhancement

Comments

@DingoEatingFuzz
Copy link
Contributor

It is common to put the Web UI behind some sort of proxy, but given the various ways that the Web UI interacts with the network, this is easier said than done.

We should write a guide that talks through all the subtleties of what the Web UI is doing, including:

  1. Blocking queries leaving requests open for a long time
  2. Log and file-streaming using streaming requests but only in some browsers
  3. Log and file-streaming optimistically dialing directly to client nodes but falling back on server nodes

Additionally, it would be nice to provide example configs for common tools such as nginx.

There are just a lot of details to figure out in the dark.

@DingoEatingFuzz DingoEatingFuzz added the theme/docs Documentation issues and enhancements label Oct 1, 2019
@jozef-slezak
Copy link

Related to #6413

@stale
Copy link

stale bot commented Jan 1, 2020

Hey there

Since this issue hasn't had any activity in a while - we're going to automatically close it in 30 days. If you're still seeing this issue with the latest version of Nomad, please respond here and we'll keep this open and take another look at this.

Thanks!

@DingoEatingFuzz
Copy link
Contributor Author

This guide was published today!

https://learn.hashicorp.com/nomad/operating-nomad/nginx-reverse-proxy

It also goes over WebSocket details required to proxy the new remote exec capability of the UI.

@pcbl
Copy link

pcbl commented May 7, 2020

Hi @DingoEatingFuzz , would it be possible to host it in a subdirectory within the proxy?
On the Tutorial it is hosted on location '/'. I tested and it worked like a charm.

BUT, On my specific case I would host it under '/Nomad/'.... I tried but it did not worked... The UI ends up redirection(307) for a /ui/ instead of /Nomad/ui/
I assume I am missing something. Could you enlighten me? :-)

@DingoEatingFuzz
Copy link
Contributor Author

Unfortunately you are not missing something 😞 For the time being the UI is hardcoded to expect the /ui path. There are plans to allow this to be customized.

@github-actions
Copy link

github-actions bot commented Nov 7, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/docs Documentation issues and enhancements type/enhancement
Projects
None yet
Development

No branches or pull requests

4 participants