Skip to content

Commit 844792c

Browse files
committed
updated wsl2 copy
Signed-off-by: bidi47 <bidi@apidemia.com>
1 parent 51422d8 commit 844792c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎public/wsl2.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,16 @@ config:
111111
- "api.dotkernel.localhost"
112112
```
113113
114+
`api.dotkernel.localhost` is only an example - use any name your project needs, such as `laravel.localhost` or `shop.localhost`, as long as it ends in `.localhost` and uses only lowercase letters, numbers and hyphens.
115+
Add one list item per project.
116+
114117
Then provision it:
115118

116119
```shell
117120
ansible-playbook -i hosts create-virtualhost.yml --ask-become-pass
118121
```
119122

120-
Files go under `/var/www/api.dotkernel.localhost/html`, with the document root at `html/public`.
123+
Files go under `/var/www/<your-domain>/html` - for example `/var/www/api.dotkernel.localhost/html` - with the document root at `html/public`.
121124
`html/public` doesn't exist until you place a project there, so the URL shows an error until then.
122125

123126
## Common questions

0 commit comments

Comments
 (0)