diff --git a/conf/nginx.conf b/conf/nginx.conf index dd09e42..168b62c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -45,12 +45,12 @@ location @proxy_to_app { proxy_set_header Connection "upgrade"; } -location /media/admin { - alias __INSTALL_DIR__/venv/lib/python3.7/site-packages/django/contrib/admin/static/admin; +location /media/admin/ { + alias __INSTALL_DIR__/venv/lib/python3.7/site-packages/django/contrib/admin/static/admin/; } -location /static/admin { - alias __INSTALL_DIR__/venv/lib/python3.7/site-packages/django/contrib/admin/static/admin; +location /static/admin/ { + alias __INSTALL_DIR__/venv/lib/python3.7/site-packages/django/contrib/admin/static/admin/; } location ~ /(favicon.ico|favicon.png|robots.txt|clientconfig.json) {