[GH-ISSUE #414] Terminal not working in HTTPS #4669

Closed
opened 2026-03-01 15:35:09 +03:00 by kerem · 1 comment
Owner

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:

  1. 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;
    }
    }

  2. Access the web-ui on https://subdom.myweb.com:9001

  3. Got to terminal: instead of "my-server login:" , I see nothing: the same black terminal box but no text inside

Screenshots
image

Info (please complete the following information):

  • Server OS: Ubuntu 24.04
  • Server Arch: x86
  • Nginx UI Version: 2.0.0-beta.24 (135)
  • Your Browser: Chrome
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: 1. 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; } } 2. Access the web-ui on https://subdom.myweb.com:9001 3. Got to terminal: instead of "my-server login:" , I see nothing: the same black terminal box but no text inside **Screenshots** ![image](https://github.com/0xJacky/nginx-ui/assets/114958550/11fd6c81-19a3-4944-a37e-7c3df134ae0d) **Info (please complete the following information):** - Server OS: Ubuntu 24.04 - Server Arch: x86 - Nginx UI Version: 2.0.0-beta.24 (135) - Your Browser: Chrome
kerem 2026-03-01 15:35:09 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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

<!-- gh-comment-id:2160503663 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#4669
No description provided.