Update server config

pull/1/head
Raphaël Vinot 2017-08-12 20:40:08 +02:00
parent ca5d07b8b8
commit 6b66f5190b
1 changed files with 12 additions and 1 deletions

View File

@ -101,7 +101,14 @@ You have to configure the two following files:
* `etc/systemd/system/lookyloo.service` * `etc/systemd/system/lookyloo.service`
And copy them to the appropriate directories and run the following command: 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: Make sure everything is working:
@ -113,3 +120,7 @@ sudo nginx -t
sudo service restart nginx sudo service restart nginx
``` ```
And you can open http://<IP-or-domain>/
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