From d0fc8c4c1721c2208957305383166c66c1ae24bf Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 5 Dec 2016 01:11:49 +0100 Subject: [PATCH] Add doc to web server --- etc/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/nginx.conf b/etc/nginx.conf index decdcff4..1b1a9283 100644 --- a/etc/nginx.conf +++ b/etc/nginx.conf @@ -14,11 +14,17 @@ server { location /media { alias /srv/media; # your Django project's media files - amend as required } + # Django static location /static { alias /srv/static; # your Django project's static files - amend as required } + # Django static + location /doc { + alias /srv/doc; # your Django project's static files - amend as required + } + location / { uwsgi_pass app:8000; include /etc/nginx/uwsgi_params; -- 2.39.5