42_Project: ft_server (new curriculum). The aim of the project is to learn automation, the "docker" technology and use it to install a complete web server. This server will run multiples services: Wordpress, phpMyAdmin, and a SQL database.
# build image from the Dockerfile
docker build . -t <img_name>
# run container using built image
docker run --name <container_name> -p 80:80 -p 443:443 -d <img_name>
# enter container's interactive mode
docker exec -it <container_name> /bin/bash
# enable autoindex
docker exec -t <container_name> /bin/bash enable_autoindex.sh
# disable autoindex
docker exec -t <container_name> /bin/bash disable_autoindex.sh
# stop and remove container
docker stop <container_name> && docker rm <container_name>
# remove image
docker rmi <image_name>
- Installing NGINX on Debian
- Admin's Guide
- Writing config file
- NGINX as a web server
- Module ngx_http_core_module