We are excited to announce that you can now configure and manage password protected paths within the Forge dashboard.
Previously, this had to be done manually by logging into the server and configuring the protection by hand within Nginx configuration files.
The new Security Rules feature allows you to quickly protect your entire site (or a path within it) using HTTP Basic Auth. You can also add multiple credentials so that you and your entire team can login.
Any valid Nginx location path can be used as protected path. For example, you may wish to use = /docs
to explicitly restrict access to the /docs
path, but not /docs/example
.
You can read more about the Security Rules feature here.