From 4f11323161f25e4340392e47c3c9ea2438daf833 Mon Sep 17 00:00:00 2001 From: Haseeb Qureshie Date: Thu, 20 Feb 2025 09:26:29 +0100 Subject: [PATCH] Changed README --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a9983d8..4b93d80 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ You can now customize `dockerfiles/debian_mini` to suit your needs, or make a ne ```sh git clone https://github.com/leaningtech/webvm.git +cd webvm ``` 2. Download the Debian mini Ext2 image @@ -91,15 +92,21 @@ git clone https://github.com/leaningtech/webvm.git 5. Configure Nginx - Modify your `nginx.conf` file to serve the disk image. Add the following location block: +- Create a directory for the disk image: + + ```sh + mkdir disk-images + mv debian_mini_20230519_5022088024.ext2 disk-images/ + ``` + +- Modify your `nginx.conf` file to serve the disk image. Add the following location block: ```nginx location /disk-images/ { - alias /home/JohnDoe/Documents/webvm/; - autoindex on; + root .; + autoindex on; } ``` - *Replace `/home/JohnDoe/Documents/webvm/` with your actual path.* 6. Start Nginx