mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #2020] 400 error for admin panel over SSH tunnel #1461
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1461
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @itsKV on GitHub (Apr 21, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2020
I have not forwarded port 81 on VPS for internal security reasons.
I have logged in via SSH with tunnel setting as L81-->127.0.0.1:81
But the browser is giving Bad Request - Invalid Hostname error when I open http://127.0.0.1:81 in browser.
How to access Admin web panel using ssh tunnel?
@stk21 commented on GitHub (Apr 24, 2022):
@itsKV What is your connection string to the VPS?
I just did this on mine it worked find.
I would recommend port forwarding a higher port than 81. your host operating system might have an issue with :81
ssh -L8181::81 user@
this assumes that :81 is the management port that docker is listening to for management of the NPM container.
@itsKV commented on GitHub (Apr 26, 2022):
Sorry, my bad.
The port I was trying to use on local machine was hogged by local application which was giving 400 error. Changed the port no 'free' one. That solved the issue.