https://stepik.org/course/74010/syllabus
sudo apt install nginx
sudo service nginx stop
sudo service nginx start
https://linuxize.com/post/creating-a-self-signed-ssl-certificate/
https://www.digitalocean.com/community/tutorials/how-to-install-phpmyadmin-from-source-debian-10
https://wiki.merionet.ru/servernye-resheniya/45/kak-nastroit-redirekt-s-http-na-https-v-nginx/
https://github.com/alexandregv/42toolboxhttps://github.com/alexandregv/42toolboxv
https://github.com/alexandregv/42toolbox
Utils : Generate SSL SSL Install Nginx Install php Install phpmyadmin Install wordpress
Docker: https://docs.docker.com/engine/install/
docker build -t $(IMAGE_NAME) .
builds the image
docker run -d -p 80:80 -p 443:443 --name $(CONTAINER_NAME) $(IMAGE_NAME)
runs the image as a container
docker stop $(CONTAINER_NAME)
stops the container
docker rmi $(IMAGE_NAME)
removes the image
docker rm $(CONTAINER_NAME)
removes the container
docker exec -it $(CONTAINER_NAME) bash
access the server CLI
docker exec $(CONTAINER_NAME) bash /autoindex.sh on
enables directory listing
docker exec $(CONTAINER_NAME) bash /autoindex.sh off
disables directory listing\
You can acess the website from your browser: