Join the community today
Register Now

Nginx Can you please explain what are this code for?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by RoldanLT, Oct 18, 2017.

  1. RoldanLT

    RoldanLT Well-Known Member

    4,088
    984
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,373
    Local Time:
    3:17 PM
    1.11
    10.2
    From drop.conf
    What security exploit does it block?
    Thanks!
     
  2. wmtech

    wmtech New Member

    26
    12
    3
    Jul 22, 2017
    Ratings:
    +20
    Local Time:
    8:17 AM
    This blocks hidden and temporary files (mostly created by text editors) from being served and logged.

    For Example: "/.htaccess" or "/file~"
     
    • Like Like x 1
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    32,478
    7,209
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,971
    Local Time:
    5:17 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah usually hidden dot . files etc
     
    • Like Like x 1
  4. RoldanLT

    RoldanLT Well-Known Member

    4,088
    984
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,373
    Local Time:
    3:17 PM
    1.11
    10.2
    Anyway I can run those command on SSH/CLI to list all match file?
     
  5. eva2000

    eva2000 Administrator Staff Member

    32,478
    7,209
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,971
    Local Time:
    5:17 PM
    Nginx 1.13.x
    MariaDB 5.5
    Probably can use recursive grep or find command to list them :)