Skip to content

Services_Web

AllanFontaine edited this page Jun 1, 2020 · 22 revisions

Web service

Here you'll be able to find all the technicals information about the web services that were implemented.

How to install

First, you have to download the dockerfile, the folders and files from the github at:

NetworkAdmin/Projet admin réseau/DMZ_Emile/Serveur Web/original_www/

Then run the command to build the docker image:

  • docker build -t www .

Then run the command to run the docker image:

  • docker run -dit -p 80:80 -p 443:443 www

Go into the docker and start the service:

  • docker exec -it <id_docker> bash
  • service nginx start

Maintenance operations

service docker status
docker info
ls /etc/nginx/nginx.conf
docker ps
nginx -t

How can I be sure it works?

Go to:

https://www.wt2-1.ephec-ti.be/
https://b2b.wt2-1.ephec-ti.be