split same as uWSGI

This commit is contained in:
Ivan Hörler 2018-05-08 06:51:26 +02:00
parent 888c6fa11c
commit e6055ea668
1 changed files with 5 additions and 2 deletions

View File

@ -266,8 +266,6 @@ Python 3.x, nginx, uwsgi and sqlite and should be sufficient for a few users
1. Create and configure the nginx server 1. Create and configure the nginx server
sudo editor /etc/nginx/sites-available/babybuddy sudo editor /etc/nginx/sites-available/babybuddy
sudo ln -s /etc/nginx/sites-available/babybuddy /etc/nginx/sites-enabled/babybuddy
sudo service nginx restart
Example config: Example config:
@ -288,6 +286,11 @@ Python 3.x, nginx, uwsgi and sqlite and should be sufficient for a few users
See the [nginx documentation](https://nginx.org/en/docs/) for more advanced See the [nginx documentation](https://nginx.org/en/docs/) for more advanced
configuration details. configuration details.
1. Symlink config and restart NGINX:
sudo ln -s /etc/nginx/sites-available/babybuddy /etc/nginx/sites-enabled/babybuddy
sudo service nginx restart
1. That's it (hopefully)! :tada: 1. That's it (hopefully)! :tada:
## Configuration ## Configuration