Selaa lähdekoodia

Changed README

Haseeb Qureshie 4 kuukautta sitten
vanhempi
commit
c607afdf93
1 muutettua tiedostoa jossa 11 lisäystä ja 4 poistoa
  1. 11 4
      README.md

+ 11 - 4
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