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
|
@ -251,6 +251,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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue