let nginx serve static files

This commit is contained in:
Wayne Witzel III
2016-10-18 14:47:14 -04:00
parent 47495b4ea6
commit a27c708127
2 changed files with 7 additions and 5 deletions

View File

@@ -401,7 +401,7 @@ uwsgi: collectstatic
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/tower/bin/activate; \
fi; \
uwsgi -b 32768 --socket :8050 --module=awx.wsgi:application --home=/venv/tower --chdir=/tower_devel/ --vacuum --processes=5 --harakiri=60 --static-map /static=/tower_devel/awx/ui/static --static-map /static=/tower_devel/awx/static --static-map /static=/tower_devel/awx/public/static
uwsgi -b 32768 --socket :8050 --module=awx.wsgi:application --home=/venv/tower --chdir=/tower_devel/ --vacuum --processes=5 --harakiri=60
daphne:
@if [ "$(VENV_BASE)" ]; then \