mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #414] Terminal not working in HTTPS #4669
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#4669
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 @sergedc on GitHub (Jun 11, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/414
Describe the bug
The terminal is working when I access the web-ui on port 9000 using http
The terminal is NOT working when I access the web-ui on port 9001 using https
To Reproduce
Steps to reproduce the behavior:
Setup https access for the web-ui:
server {
listen 9001 ssl;
server_name subdom.myweb.com;
ssl_certificate /root/cert/fullchain.cer;
ssl_certificate_key /root/cert/subdom.myweb.com.key;
location / {
proxy_pass http://localhost:9000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Access the web-ui on https://subdom.myweb.com:9001
Got to terminal: instead of "my-server login:" , I see nothing: the same black terminal box but no text inside
Screenshots

Info (please complete the following information):
@0xJacky commented on GitHub (Jun 11, 2024):
Hi @sergedc, this is not a bug of Nginx UI. You have to configurate the nginx to proxy websocket connections to nginx ui.
Please check this configuation example for more detail https://nginxui.com/guide/nginx-proxy-example.html