Update ubuntu from scratch doc

I had to add a config for /static and /uploads folder in nginx when I set DEBUG = False
This commit is contained in:
Lars Lingner 2019-10-08 10:06:30 +02:00 committed by GitHub
parent 3ccc6de68b
commit 90c7b38114
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,6 +252,18 @@ In your local.py:
UMAP_DEMO_SITE = False UMAP_DEMO_SITE = False
DEBUG = False DEBUG = False
In your nginx config:
location /static {
autoindex off;
alias /path/to/umap/var/static/;
}
location /uploads {
autoindex off;
alias /path/to/umap/var/data/;
}
### Configure social auth ### Configure social auth
Now you can login with your superuser, but you may allow users to user social Now you can login with your superuser, but you may allow users to user social