Skip to content

ifanzilka/ft_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_server

https://stepik.org/course/74010/syllabus

ngnix

 sudo apt install nginx
 sudo service  nginx stop
 sudo service  nginx start

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-nginx-mariadb-and-php-on-debian-10

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

Usage

Prerequisites

Docker: https://docs.docker.com/engine/install/

Build Instructions

Docker commands

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\

Acess

You can acess the website from your browser:

docker-logo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published