diff --git a/application-template.json b/application-template.json index 6df6aa1..71be4f8 100644 --- a/application-template.json +++ b/application-template.json @@ -168,6 +168,10 @@ "name": "APP_MODULE", "value": "${APP_MODULE}" }, + { + "name": "APP_CONFIG", + "value": "${APP_CONFIG}" + }, { "name": "DJANGO_SECRET_KEY", "value": "${DJANGO_SECRET_KEY}" @@ -293,6 +297,11 @@ "description": "Python dotted path to your Django WSGI application", "value": "project.wsgi" }, + { + "name": "APP_CONFIG", + "description": "Relative path to Gunicorn configuration file (optional)", + "value": "gunicorn_conf.py" + }, { "name": "DJANGO_SECRET_KEY", "description": "Django secret key", diff --git a/gunicorn_conf.py b/gunicorn_conf.py new file mode 100644 index 0000000..a73c815 --- /dev/null +++ b/gunicorn_conf.py @@ -0,0 +1 @@ +accesslog = "access.log"