로딩
요청 처리 중입니다...

Nginx 폴더에 패스워드 설정

 Nginx 폴더에 패스워드 설정

웹서비스 경로에 인증걸기 nginx directory password auth setting //------------------ * 패스워드 추가 htpasswd -c /usr/local/nginx/html/.htpasswd admin htpasswd /usr/local/nginx/html/.htpasswd user1 //------------------------ * nginx/conf/nginx.conf 수정 location /admin { auth_basic "Admin page"; auth_basic_user_file /usr/local/nginx/html/.htpasswd; index index.php index.htm; #php파일에도 보안 적용 location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_...

# htpasswd # nginx