mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-09-08 07:20:44 +00:00
Removed gunicorn and fixed nginx
This commit is contained in:
@@ -17,9 +17,7 @@ DATABASES = {
|
||||
}
|
||||
|
||||
STATIC_URL = '/django_static/'
|
||||
STATIC_ROOT = [
|
||||
BASE_DIR / 'django_static'
|
||||
]
|
||||
STATIC_ROOT = os.path.join(os.path.dirname(os.path.dirname(BASE_DIR)), 'django_static')
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / 'django_static/static'
|
||||
BASE_DIR / 'static'
|
||||
]
|
@@ -2,6 +2,6 @@ import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.production')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
|
||||
|
||||
application = get_wsgi_application()
|
||||
|
Reference in New Issue
Block a user