NGINX
Installation
Site Officiel:
https://www.docker.com/blog/tips-for-deploying-nginx-official-image-with-docker/
Chemins de repertoire:
Repertoire sur le docker | Chemin |
---|---|
/usr/share/nginx/html | |
Configuration | /etc/nginx |
Installation du PHP et PHP-MySQL
apt-get install php-fpm php-mysql
Savoir s'il y a une erreur sur le fichier de config
nginx -t
sudo systemctl restart nginx
sudo nginx -s reload
/etc/nginx/sites-available$ sudo nano default
https://www.youtube.com/watch?v=0npmIczhrgA
https://www.youtube.com/watch?v=spbkCihFpQ8