Get the most out of your Centmin Mod LEMP stack
Become a Member

Nginx Nginx auto generated config has an empty line

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Aug 20, 2017.

  1. pamamolf

    pamamolf Premium Member Premium Member

    May 31, 2014
    Local Time:
    4:01 PM
    MariaDB 10.1.x
    CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed:123.09beta01
    • Nginx Version Installed: i.e. 1.11.10
    • PHP Version Installed: 7.0.15
    • MariaDB MySQL Version Installed: 10.1.21
    • When was last time updated Centmin Mod code base ? : fresh install

    Hi :)

    I just got a new vps to do some tests with fail2ban and after default installation with one line installer of latest Centminmod beta i just notice that at the end of the config file there is an empty line between include lines :)

    Don't know if that's normal and you just want to have the separate or there is a bug there and a space line exist or even a line needed there and missing so i am just reporting it here :)

      include /usr/local/nginx/conf/;
      include /usr/local/nginx/conf/pre-staticfiles-global.conf;
      include /usr/local/nginx/conf/staticfiles.conf;
      include /usr/local/nginx/conf/php.conf;
      include /usr/local/nginx/conf/drop.conf;
      #include /usr/local/nginx/conf/errorpage.conf;
      include /usr/local/nginx/conf/vts_server.conf;

    Tomorrow i will start fail2ban tests :)

    Thank you
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    12:01 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    normal as it's empty lines are were multiple php-fpm version include files would be if centmin mod vhost generator detected multiple php-fpm versions :)
    • Informative Informative x 1