Want more timely Centmin Mod News Updates?
Become a Member

Nginx How to properly password protect a directory or file?

Discussion in 'Centmin Mod Insights' started by RoldanLT, Jun 25, 2014.

Tags:
  1. Jimmy

    Jimmy Premium Member Premium Member

    1,114
    247
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +596
    Local Time:
    5:12 PM
    1.13.x
    MariaDB 10.1.x
    got ya. usr and usr.
     
  2. Jon Snow

    Jon Snow Active Member

    156
    25
    28
    Jun 30, 2017
    Ratings:
    +30
    Local Time:
    6:12 PM
    Nginx 1.13.4
    MariaDB 10.1.26
    If I wanted to do things manually, is it as simple as creating a file with the user/pass details and just editing my vhost config file to use that path and restarting nginx?
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,137
    Local Time:
    7:12 AM
    Nginx 1.13.x
    MariaDB 5.5
    yes what has been discussed in this whole thread :)
     
  4. Jon Snow

    Jon Snow Active Member

    156
    25
    28
    Jun 30, 2017
    Ratings:
    +30
    Local Time:
    6:12 PM
    Nginx 1.13.4
    MariaDB 10.1.26
    I read it all but I was still confused because there was a line for a script to run. I prefer to do things manually first so I know what the script does automatically (want to only use scripts to save time). Thanks!
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,137
    Local Time:
    7:12 AM
    Nginx 1.13.x
    MariaDB 5.5