Want more timely Centmin Mod News Updates?
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 Well-Known Member

    2,767
    245
    63
    May 31, 2014
    Ratings:
    +436
    Local Time:
    9:38 PM
    Nginx-1.13.x
    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 :)

    Code:
      include /usr/local/nginx/conf/pre-staticfiles-local-domain.com.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

    30,562
    6,851
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,266
    Local Time:
    5:38 AM
    Nginx 1.13.x
    MariaDB 5.5
    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