- www
-------------- public
---------------------------- index.html
- nginx.conf
And this is the nginx.conf
server {
server_name localhost;
listen 80;
root /app/www/public;
index index.html index.htm;
autoindex on;
}
However the index.html will not work when I go to the localhost.
When I change the docker command to this it does work however, but this will also mirror all of the files and folder from my file structure into the containers /etc/nginx/conf.d/ directory