Skip to content

42 - This is a System Administration subject. You will discover Docker and you will set up your first web server.

Notifications You must be signed in to change notification settings

jamrabhi/ft_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ft_server

42 - This is a System Administration subject. You will discover Docker and you will set up your first web server.

Build Docker image

$> docker build -t ft_server

Create a container and run it

$> docker run -d -p 80:80 -p 443:443 --name ft_server ft_server

Get access to the container via bash

$> docker exec -ti ft_server bash

Autoindex on/off

By default, autoindex is enabled. To disable it :

$> docker run -d -p 80:80 -p 443:443 --name ft_server --env INDEX=off ft_server

About

42 - This is a System Administration subject. You will discover Docker and you will set up your first web server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published