mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 00:36:08 +03:00
[GH-ISSUE #156] Conf files not found #1427
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#1427
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 @Spleenftw on GitHub (Aug 21, 2023).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/156
Hello,
I got multiple files on my nginx vm :
and i got this line in my nginx.conf :
But in my "Sites List", it's juste giving me an error that /etc/nginx/sites-enabled: no such file or directory.
i kinda don't get it
@0xJacky commented on GitHub (Aug 21, 2023):
This is a common issue, please check our documentation: https://nginxui.com/guide/getting-started.html
Before Use
The Nginx UI follows the Debian web server configuration file standard. Created site configuration files will be placed in the sites-available folder that under the Nginx configuration folder (auto-detected). The configuration files for an enabled site will create a soft link to the sites-enabled folder. You may need to adjust the way the configuration files are organised.
For non-Debian (and Ubuntu) systems, you may need to change the contents of the nginx.conf configuration file to the Debian style as shown below.
For more information: debian/conf/nginx.conf
In your case, you need to create
/etc/nginx/sites-enabledand/etc/nginx/sites-available, move/etc/nginx/conf.d/*to/etc/nginx/sites-available/, then addinclude /etc/nginx/sites-enabled/*;underinclude /etc/nginx/conf.d/*.conf;, finally reload nginx, and you will see the sites list.