Problem
I have a Nginx container running in docker. It's configured to listen to port http://localhost:80 . When I type the url to my browser I get the following...
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com.
Thank you for using nginx.
Cont'd of Problem
I want nginx to serve my html files from my public directory. Please take a look at my project images...
Project Images:
What I have done
Ran the following docker command from my public directory...
- $ docker run -d --name chat-web -v $PWD:/var/www -p 80:80 nginx
Search for the location of nginx server from /usr/local/bin , /usr/private/var so that I can modify nginx.conf as described in the following post NGinx Default public www location?. I was unable to find the location of the nginx server.
Thanks in advance for taking the time to answer my question. I really appreciate you.