Server Actions
Enable Basic Auth on a stack server

Runs the Enable Basic Auth script on a LAMP/LEMP stack server. Use / to protect the whole site, or a path like /admin or /wp-login. A protected path also protects subpaths (for example /admin/users), but not similar prefixes (for example /administrator). Add or update one path per request; each path can have its own credentials.
Body
application/json
Basic Auth password for this path. Any printable characters are allowed (max 72 bytes; control characters and line breaks are rejected).
Example:
staging123URL path to protect. Use / for the whole site, or a specific path like /admin. Protects that path and its subpaths only.
Example:
/adminEnable Basic Auth initiated.
Still need help? Share an idea