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:
parent
3ccc6de68b
commit
90c7b38114
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue