django-cats/config/gunicorn/dev.py
Jan Dittberner 3f4e005cf3 Implement client certificate authentication
- add a cats.authentication.ClientCertificateBackend authentication
  backend implementation that extracts the used fields from a client
  certificate
- configure the AUTHENTICATION_BACKENDS setting to use the
  ClientCertificateBackend
- add cryptography dependency to parse certificate data
- add gunicorn as production dependency
- add a development configuration for Gunicorn
- document how to pass client certificate information via nginx reverse
  proxy
- add a certificate_login view and a basic home_page view and add
  corresponding URL patterns
- ignore PEM encoded files and temporary gunicorn files
2024-09-20 12:42:44 +02:00

11 lines
No EOL
245 B
Python

from doctest import debug
wsgi_app = "django_cats.wsgi:application"
loglevel = "debug"
workers = 2
bind = "127.0.0.1:8000"
reload = True
accesslog = errorlog = "gunicorn-dev.log"
capture_output = True
pidfile = "gunicorn-dev.pid"
daemon = False