This repository aim to start a new installation and deployment of a website on a server using nginx. It provide an SSL certificate and allow to start a site.
-
Rename the files in the
site-available
andsite-enabled
. -
Change their content, by replacing baptistecrouzet.fr every where you can find it, by your own domaine name.
-
Add your domains inside
init-letsencrypt.sh
file
Put your code/website inside www
folder.
Make sure your server allow SSL ports :
sudo ufw allow https #or desactivate it with sudo ufw disable
Then execute this command :
./init-letsencrypt.sh
Finally execute this
docker-compose up -d