[GH-ISSUE #521] The new configuration file was created with an incorrect path #7390

Closed
opened 2026-03-12 20:25:17 +03:00 by kerem · 1 comment
Owner

Originally created by @ttrinh24 on GitHub (Aug 26, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/521

Describe the bug
The config file was created correctly inside the folder (/etc/nginx/<folder>/<new-file>), but the subfolder path is incorrect (/etc/nginx/<folder>/<subfolder>/<new-file>).

To Reproduce
Steps to reproduce the behavior:

  1. Click on 'Manage Configs' menu
  2. Click on 'Modify' at folder conf.d
  3. Click on 'Modify' at folder includes
  4. Click on 'Create File'
  5. See error

Expected behavior
The file was created with the correct path

Screenshots
image
image

Info (please complete the following information):

  • Server OS: Debian 12.6
  • Server Arch: linux 5.15.0-117-generic x86_64
  • Nginx UI Version: v2.0.0-beta.31
  • Browser: Chrome
Originally created by @ttrinh24 on GitHub (Aug 26, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/521 **Describe the bug** The config file was created correctly inside the folder (`/etc/nginx/<folder>/<new-file>`), but the subfolder path is incorrect (`/etc/nginx/<folder>/<subfolder>/<new-file>`). **To Reproduce** Steps to reproduce the behavior: 1. Click on 'Manage Configs' menu 2. Click on 'Modify' at folder conf.d 3. Click on 'Modify' at folder includes 5. Click on 'Create File' 6. See error **Expected behavior** The file was created with the correct path **Screenshots** ![image](https://github.com/user-attachments/assets/88f94052-494f-4c77-baaa-0f7894b23372) ![image](https://github.com/user-attachments/assets/fa5c72b0-81b9-4dd0-a86f-c76b0e3b2599) **Info (please complete the following information):** - Server OS: Debian 12.6 - Server Arch: linux 5.15.0-117-generic x86_64 - Nginx UI Version: [v2.0.0-beta.31](https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.31) - Browser: Chrome
kerem 2026-03-12 20:25:17 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Aug 27, 2024):

Thanks for your report, I will fix it soon.

<!-- gh-comment-id:2311438983 --> @0xJacky commented on GitHub (Aug 27, 2024): Thanks for your report, I will fix it soon.
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#7390
No description provided.