Browse Source

Add config to send access log to file

pull/2/merge
Rodolfo Carvalho 10 years ago
parent
commit
bbd2bc6d09
2 changed files with 10 additions and 0 deletions
  1. +9
    -0
      application-template.json
  2. +1
    -0
      gunicorn_conf.py

+ 9
- 0
application-template.json View File

@ -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",


+ 1
- 0
gunicorn_conf.py View File

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

Loading…
Cancel
Save