-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sites-enabled
folder usage
#340
Conversation
hasanalihaolader
commented
Oct 22, 2023
- Added sites-enabled folder due to availability for virtual host configuration
- Moved default configuration conf.d to site-enabled cause all enabled site virtual hosts in the server could be available in the site-enabled folder and conf.d folder available to another custom nginx configuration.
…guration will write in sites-enabled folder.
Thanks for this pull request @hasanalihaolader. Thus, could you clarify? |
@LeoColomb Nginx default configuration has the site-enabled folder, and it is possible to v-host configure in site-enabled. Just adopt this configuration, so at this moment, it is possible to v-host configuration in conf.d and site-enabled both. site-enabled folder ensures v-host configuration for which site is enabled in this server. my purposes are clearly visible, such as which site is enabled on the server and the nginx default configuration structure adoption. |
Back in Apache days, I have seen this as well, but NGINX if far better to configure. You can simply append an |
is not old configuration, is default configuration during install fresh nginx. |
Do you have any official documentation that illustrates the I'm also quite skeptical, to be honest. That's why I'm closing this pull request. |