[GH-ISSUE #1279] Sites List Empty Despite Files In Directory #3809

Closed
opened 2026-02-28 11:57:49 +03:00 by kerem · 6 comments
Owner

Originally created by @xFGhoul on GitHub (Jul 31, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1279

Describe the bug
Using docker compose and setting up nginx-ui using docker compose, when I head over to sites list it is empty but I have sites configured

To Reproduce
Steps to reproduce the behavior:

  1. Follow docker compose instructions
  2. run nginx-ui
  3. go to sites-list

Expected behavior
Sites are listed

Screenshots

Image

Info (please complete the following information):

  • Server OS: Ubuntu 25.04
  • Server Arch: x86_x64
  • Nginx UI Version: Latest
  • Your Browser: Zen Browser

Additional context
None so far

Originally created by @xFGhoul on GitHub (Jul 31, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1279 **Describe the bug** Using docker compose and setting up nginx-ui using docker compose, when I head over to sites list it is empty but I have sites configured **To Reproduce** Steps to reproduce the behavior: 1. Follow docker compose instructions 2. run nginx-ui 3. go to sites-list **Expected behavior** Sites are listed **Screenshots** <img width="1708" height="1052" alt="Image" src="https://github.com/user-attachments/assets/5b693780-0bbd-4ac5-a855-b616895b0588" /> **Info (please complete the following information):** - Server OS: Ubuntu 25.04 - Server Arch: x86_x64 - Nginx UI Version: Latest - Your Browser: Zen Browser **Additional context** None so far
kerem 2026-02-28 11:57:49 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Aug 1, 2025):

You should check if there is any file in /etc/nginx/sites-available

<!-- gh-comment-id:3141878841 --> @0xJacky commented on GitHub (Aug 1, 2025): You should check if there is any file in /etc/nginx/sites-available
Author
Owner

@xFGhoul commented on GitHub (Aug 1, 2025):

yes there are files in that directory

Image
<!-- gh-comment-id:3141908303 --> @xFGhoul commented on GitHub (Aug 1, 2025): yes there are files in that directory <img width="653" height="59" alt="Image" src="https://github.com/user-attachments/assets/ba5ba348-7732-4f8f-a29d-1d33820acacd" />
Author
Owner

@0xJacky commented on GitHub (Aug 1, 2025):

Did you map the directory to the container correctly? Please show me the command to start the container or the docker-compose.yml, thanks.

<!-- gh-comment-id:3141912510 --> @0xJacky commented on GitHub (Aug 1, 2025): Did you map the directory to the container correctly? Please show me the command to start the container or the docker-compose.yml, thanks.
Author
Owner

@xFGhoul commented on GitHub (Aug 1, 2025):

this is it

services:
    nginx-ui:
        stdin_open: true
        tty: true
        container_name: nginx-ui
        restart: always
        environment:
            - TZ=Asia/Shanghai
        volumes:
            - '/mnt/user/appdata/nginx:/etc/nginx'
            - '/mnt/user/appdata/nginx-ui:/etc/nginx-ui'
            - '/var/www:/var/www'
            - '/var/run/docker.sock:/var/run/docker.sock'
        ports:
            - 8080:80
            - 8443:443
        image: 'uozi/nginx-ui:latest'
<!-- gh-comment-id:3141934750 --> @xFGhoul commented on GitHub (Aug 1, 2025): this is it ``` services: nginx-ui: stdin_open: true tty: true container_name: nginx-ui restart: always environment: - TZ=Asia/Shanghai volumes: - '/mnt/user/appdata/nginx:/etc/nginx' - '/mnt/user/appdata/nginx-ui:/etc/nginx-ui' - '/var/www:/var/www' - '/var/run/docker.sock:/var/run/docker.sock' ports: - 8080:80 - 8443:443 image: 'uozi/nginx-ui:latest' ```
Author
Owner

@0xJacky commented on GitHub (Aug 1, 2025):

You should use the following configuration:

services:
    nginx-ui:
        stdin_open: true
        tty: true
        container_name: nginx-ui
        restart: always
        environment:
            - TZ=Asia/Shanghai
        volumes:
            - '/etc/nginx/nginx:/etc/nginx'
            - './nginx-ui:/etc/nginx-ui'
            - '/var/www:/var/www'
            - '/var/run/docker.sock:/var/run/docker.sock'
        ports:
            - 8080:80
            - 8443:443
        image: 'uozi/nginx-ui:latest'
<!-- gh-comment-id:3141945859 --> @0xJacky commented on GitHub (Aug 1, 2025): You should use the following configuration: ``` services: nginx-ui: stdin_open: true tty: true container_name: nginx-ui restart: always environment: - TZ=Asia/Shanghai volumes: - '/etc/nginx/nginx:/etc/nginx' - './nginx-ui:/etc/nginx-ui' - '/var/www:/var/www' - '/var/run/docker.sock:/var/run/docker.sock' ports: - 8080:80 - 8443:443 image: 'uozi/nginx-ui:latest' ```
Author
Owner

@xFGhoul commented on GitHub (Aug 1, 2025):

using that I still get "no data"

<!-- gh-comment-id:3144221750 --> @xFGhoul commented on GitHub (Aug 1, 2025): using that I still get "no data"
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#3809
No description provided.