-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Proxy Settings "Nginx Proxy Manager" web UI #112
Comments
As I do not actively use nginx proxy manager, and given the lack of supporting detail, I don't have an answer for you. Information about security can be found in SECURITY.MD |
I have a working install |
also need settings for "Nginx Proxy Manager" web UI, please |
Sorry for the late reply Do the usual stuff for a host entry, leave custom locations empty, and then replace <server_ip> and add the below to the advanced section of Nginx Proxy Manager for the host
|
excuse me,i have try several times to put this into Custom Nginx Configuration the both proxy_pass settings had been changed to my container ip and port the container is running ,web up, but the api test failed |
Do you have a properly working NPM with an SSL CRT you are using with other applications ? |
@ithakaa I try your config and I'm getting the error "Client sent an HTTP request to an HTTPS server." but I think It's because in the
the last line should be https. but even when I change it I get a withe screen no errors just when accessing the ui the other part works fine. Any idea what I'm doing wrong? |
it works for me |
Yes, I already have external clients running I just want to try the web-ui. Just to be clear the ports you use there. the location /web/ port is the one I have configured in Headscale-ui and the location / is the port I have configured for Headscale? |
I've provided screenshots, might be easier this way, let me know how you go https://github.com/ithakaa/headscale-ui-npm/blob/main/README.md |
Thank you very much. Your installation is with docker? |
yes |
This is my compose
can you share your compose. that way I will have everything the same. Thanks |
|
@ithakaa Thank for all your help. It was right since the beginning the whole problem was the Browser cache. |
@ithakaa Hi, so I am using your NPM config and while it generally works fine, the server isn't available through https://:8080/ and just errors with SSL_ERROR_RX_RECORD_TOO_LONG, just removing the 8080 port makes it all work fine. This is mostly an annoyance since I can technically always remove the port from the register urls, but is annoying, and might be breaking taildrop, but I am not sure yet. (the send to list is entirely empty). You wouldn't have any ideas on why this is happening? |
Are you getting the ssl error when registering nodes or when accessing the headscale ui? |
I am getting that error when registering, but accessing the headscale UI I am pretty sure isn't something you should be doing with https://:8080/web, however it errors in the same way. Using any port not in use of course gives an unable to connect error. |
you need to register via http://server_ip:8080 |
Which is what doesn't work, to register I need to manually remove the port from the URL, otherwise I just get that SSL error. |
@mackandelius if the address start with https you cannot use the port 8080. just use your domain. example https://mydomain.com/web |
Are you using the headscale-ui docker image that includes headscale and headscale-ui? |
@appleimperio that is what I am doing, but the app and program both direct you towards a url using the :8080 port, if this is expected behavior then that is clunky and not worth it. |
@ithakaa sorry, forgot to mention that I am not, forgot the exact reasons now, but was actually just easier installing headsclae to the server directly, headscale-ui is running in docker. |
To be absolutely honest, I actually wouldn't even bother with headscale-ui The headscale cli is super simple |
Regardless, doesn't headscale require HTTPS at least partially? |
Sorry I can't be any further assistance, it seems you need to look into headscale a little more deeply before you start posting requests for help |
For someone who also runs into the same issue as I did, I have to trun OFF the "Cache Assets" for the proxy host and things would work without any tricks. It's actually because assets go to different location which doesn't recognize the /web path: |
I need settings for "Nginx Proxy Manager" web UI
how do you secure the login?
Please help
The text was updated successfully, but these errors were encountered: