diff --git a/app/cspc_web/settings.py b/app/cspc_web/settings.py index 9e941cc..278643e 100644 --- a/app/cspc_web/settings.py +++ b/app/cspc_web/settings.py @@ -158,7 +158,7 @@ # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/4.1/howto/static-files/ -STATIC_URL = "/static/" +STATIC_URL = "/djang_static/" STATIC_ROOT = os.path.join(BASE_DIR, "static") diff --git a/nginx/nginx.conf b/nginx/nginx.conf index ccb5f3f..9b97259 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -66,7 +66,7 @@ server { proxy_redirect off; } - location /static/ { + location /djang_static/ { # static file servce alias /home/app/web/static/; }