search
HomeTopicsPagoda PanelWebsite settings authentication in nginx of Pagoda

The following tutorial column from Pagoda will introduce to you the website setting authentication method in nginx. I hope it will be helpful to friends in need!

Website settings authentication in nginx of Pagoda

Step one:

Generate username and password (must be executed in SSH)

echo -e "用户名:$(openssl passwd -crypt 密码)" > /www/wwwroot/AuthNginx.pl

Step two:

Add the following two lines in pseudo-static

auth_basic 'Login..';
auth_basic_user_file /www/wwwroot/AuthNginx.pl;

The above is the detailed content of Website settings authentication in nginx of Pagoda. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:bt. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function