Discover Centmin Mod today
Register Now

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:
    5:39 AM
    • Like Like x 2
  2. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    5:39 AM
    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