improve docs in preparation for the Expose 2 launch

This commit is contained in:
Sebastian Schlein
2021-06-14 16:49:29 +02:00
parent 1fdcc50d4a
commit b9200e3790
4 changed files with 13 additions and 11 deletions

View File

@@ -29,11 +29,13 @@ For example:
~/Sites/api.my-site/ expose
```
If you are using the Expose network on the free plan, you get a random subdomain on every connect. You can upgrade to Expose Pro and use custom subdomains as if you'd host your own server.
## Sharing a local site explicitly
If you want to explicitly share a local URL, without going into a specific folder first, you can do this by using the `expose share` command.
If your local sites are not available at `foldername.test` you can explicitly share a local URL, without going into a specific folder first. You can do this by using the `expose share` command and specify the domain directly.
> By default, this command will generate a unique subdomain for the shared URL.
This is required when sharing sites that have HTTPS locally or Expose can't map local directory names to URLs automatically.
```bash
# Will share access to http://192.168.2.100 using a randomly generated subdomain