diff --git a/SELF-HOSTING.md b/SELF-HOSTING.md index 2a43c9f..bd7de98 100644 --- a/SELF-HOSTING.md +++ b/SELF-HOSTING.md @@ -100,3 +100,16 @@ The Yotter application server powered by gunicorn is now running privately port * `sudo rm /etc/nginx/sites-enabled/default` Create a new Nginx site, you can run `sudo nano /etc/nginx/sites-enabled/yotter` + +And write this on it: +``` +server { + server_name ; + + location / { + proxy_pass http://localhost:8000; + } +} +``` + +[Follow this instructions to install certbot and generate an ssl certificate](https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx)