From 90c7b38114e1b8a733d1926d0af1167f74020059 Mon Sep 17 00:00:00 2001 From: Lars Lingner Date: Tue, 8 Oct 2019 10:06:30 +0200 Subject: [PATCH] Update ubuntu from scratch doc I had to add a config for /static and /uploads folder in nginx when I set DEBUG = False --- docs/ubuntu.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/ubuntu.md b/docs/ubuntu.md index 165e42cc..48072b0d 100644 --- a/docs/ubuntu.md +++ b/docs/ubuntu.md @@ -251,6 +251,18 @@ In your local.py: UMAP_DEMO_SITE = 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