Add config to send access log to file

This commit is contained in:
Rodolfo Carvalho 2015-05-22 16:38:15 +02:00
parent df9fdb39f7
commit bbd2bc6d09
2 changed files with 10 additions and 0 deletions

View file

@ -168,6 +168,10 @@
"name": "APP_MODULE", "name": "APP_MODULE",
"value": "${APP_MODULE}" "value": "${APP_MODULE}"
}, },
{
"name": "APP_CONFIG",
"value": "${APP_CONFIG}"
},
{ {
"name": "DJANGO_SECRET_KEY", "name": "DJANGO_SECRET_KEY",
"value": "${DJANGO_SECRET_KEY}" "value": "${DJANGO_SECRET_KEY}"
@ -293,6 +297,11 @@
"description": "Python dotted path to your Django WSGI application", "description": "Python dotted path to your Django WSGI application",
"value": "project.wsgi" "value": "project.wsgi"
}, },
{
"name": "APP_CONFIG",
"description": "Relative path to Gunicorn configuration file (optional)",
"value": "gunicorn_conf.py"
},
{ {
"name": "DJANGO_SECRET_KEY", "name": "DJANGO_SECRET_KEY",
"description": "Django secret key", "description": "Django secret key",

1
gunicorn_conf.py Normal file
View file

@ -0,0 +1 @@
accesslog = "access.log"