mirror of https://github.com/CIRCL/lookyloo
Update server config
parent
ca5d07b8b8
commit
6b66f5190b
13
README.md
13
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://<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
|
||||
|
||||
|
|
Loading…
Reference in New Issue