Hello.
I installed the httpd image from the docker gui app and configured it as per these instructions: http://help.terra-master.com/TOS/view/? ... lag/Docker
The server is working (accessing ip+port number works, see screenshot), but I cannot find the document root folder. Does anyone know where it is?
Docker httpd Document Root
- ag.universita
- Posts: 1
- Joined: 07 Jul 2021, 01:23
Docker httpd Document Root
- Attachments
-
- Schermata 2021-07-06 alle 19.28.26.png (10.3 KiB) Viewed 1777 times
Re: Docker httpd Document Root
If you follow the guide, including the pictures, you need to create a couple of folders in the "public" folder on the NAS, as per step 5.
Their image shows on the left: /mnt/md0/public/https/www
So create a folder called https in the public folder, then another called www inside https
When you load the URL <ip address>:47739, it should come up and just say Index of / because the www folder is empty.
I created a basic index.html and put it in the www folder, then refreshed the <ip address>:47739, now my basic page is shown.
The It works! file is stored inside the docker container, and will appear when you don't map a volume as described in step 5. Though I'm not exactly sure where in the docker container it is
Hope that helps!
Their image shows on the left: /mnt/md0/public/https/www
So create a folder called https in the public folder, then another called www inside https
When you load the URL <ip address>:47739, it should come up and just say Index of / because the www folder is empty.
I created a basic index.html and put it in the www folder, then refreshed the <ip address>:47739, now my basic page is shown.
The It works! file is stored inside the docker container, and will appear when you don't map a volume as described in step 5. Though I'm not exactly sure where in the docker container it is
Hope that helps!