Welcome! Log In Create A New Profile


Setting up configuration

Posted by nginxdevuan 
Setting up configuration
December 28, 2022 05:18PM
Where in the nginx.conf file are the three recommended includes to be inserted?

Near the top after "include /etc/nginx/modules-enabled/*.conf;"?
entered as ...

include conf.d/http;
include conf.d/stream;
include conf.d/exchange-enhanced;

OR ... near the bottom, following "# Vitual Host Configs"?



Feature-Specific Configuration Files

To make the configuration easier to maintain, we recommend that you split it into a set of feature‑specific files stored in the /etc/nginx/conf.d directory and use the include directive in the main nginx.conf file to reference the contents of the feature‑specific files.

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready