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

Sysadmin Interesting new NginX tool: Gixy config analyzer

Discussion in 'System Administration' started by ethanpil, May 11, 2017.

Tags:
  1. ethanpil

    ethanpil Active Member

    169
    47
    28
    Nov 8, 2015
    Ratings:
    +92
    Local Time:
    8:41 AM
    • Like Like x 2
  2. eva2000

    eva2000 Administrator Staff Member

    36,428
    7,994
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,309
    Local Time:
    8:41 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    interesting tool though very difficult to get right for all nginx.conf configs seeing as there's many configs out there

    i.e.
    Code (Text):
    gixy /usr/local/nginx/conf/nginx.conf
    [nginx_parser]  ERROR   Failed to parse config "/usr/local/nginx/conf/dynamic-modules-includes.conf": Expected "if" (at char 0), (line:1, col:1)
    [nginx_parser]  ERROR   Failed to parse config "/usr/local/nginx/conf/autoprotect/domain.com/autoprotect-domain.com.conf": Expected "if" (at char 0), (line:1, col:1)
    
    ==================== Results ===================
    No issues found.
    
    ==================== Summary ===================
    Total issues:
        Unspecified: 0
        Low: 0
        Medium: 0
        High: 0
    
     
..