Access WP site in Staging Env via ssh tunnel

In my experience it’s been common to add HTTP basic auth to staging sites. You could use the Nginx includes feature to define basic auth.

You can search the forums for some other solutions to basic auth:

https://discourse.roots.io/t/role-add-basic-authentication-to-your-bedrock-sites/3742

1 Like