Learn about Centmin Mod LEMP Stack today
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

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    8:38 PM
    • Like Like x 2
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    8:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    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