From 6b66f5190b247882ccb967d40de7bf62aca5658c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sat, 12 Aug 2017 20:40:08 +0200 Subject: [PATCH] Update server config --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f8b7952..3c4cfc73 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,14 @@ You have to configure the two following files: * `etc/systemd/system/lookyloo.service` And copy them to the appropriate directories and run the following command: -`sudo ln -s /etc/nginx/sites-available/lookyloo /etc/nginx/sites-enabled` +```bash +sudo ln -s /etc/nginx/sites-available/lookyloo /etc/nginx/sites-enabled +``` + +If needed, remove the default site +```bash +sudo rm /etc/nginx/sites-enabled/default +``` Make sure everything is working: @@ -113,3 +120,7 @@ sudo nginx -t sudo service restart nginx ``` +And you can open http:/// + +Now, you should configure TLS (let's encrypt and so on) -> https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04 +