Welcome to Centmin Mod Community
Register Now

Beta Branch add nginx-length-hiding-filter-module in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 18, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    55,180
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    6:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    add nginx-length-hiding-filter-module in 123.09beta01

    add a new nginx-length-hiding-filter-module GitHub - nulab/nginx-length-hiding-filter-module: nginx filter module to append random generated string to the end of HTML response for nginx in 123.09beta01 disabled by default and enabled/controlled by 2 variables you set in your persistent config file at /etc/centminmod/custom_config.inc. Enable by setting NGINX_LENGTHHIDE='n' to NGINX_LENGTHHIDE='y' and then running centmin.sh menu option 4 to recompile Nginx server.


    Code (Text):
    NGINX_LENGTHHIDE='n'         # https://github.com/nulab/nginx-length-hiding-filter-module
    NGINX_LENGTHHIDEGIT='y'      # triggers only if NGINX_LENGTHHIDE='y'
    


    Continue reading...

    123.09beta01 branch
     
    Last edited: Aug 18, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    55,180
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    6:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    example with module enabled
    then enable in nginx vhost location context match with option length_hiding on
    Code (Text):
        location /hiding {
            length_hiding on;
        }
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,180
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    6:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. eva2000

    eva2000 Administrator Staff Member

    55,180
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    6:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @BamaStangGuy apparently that was fixed for incompatibility with HTTP/2 nginx 1.11.3 ? · Issue #4 · nulab/nginx-length-hiding-filter-module · GitHub so worth retrying/retesting :)

    But I tried again with nginx 1.11.0 and still doesn't work for me heh

    set in nginx vhost
    Code (Text):
    location /hiding {
        length_hiding on;
    }
    

    create directory /hiding with index.html page and see if the module inserts a random string into html. Unfortunately, still not seeing the random string
     
  5. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    10:53 AM
    1
    10
    Just tried this out, not working for me either