Basic Auth

Protect a route with the Basic Auth plugin.

เราจะมาใส่ basic auth เพื่อป้องกันไม่ให้เรียกเข้าไปที่หน้า admin

กด save ได้เลย

ลองเปิดไปที่ admin.myweb.com:8000

จะเจอหน้าตาแบบนี้

แล้ว username, password คืออะไร ก็ไปดูที่หัวข้อถัดไปได้เลย