production2_ssl.py 455 B

123456789101112131415
  1. # -*- coding: utf-8 -*-
  2. # !/usr/bin/env python
  3. import os
  4. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'configs.production2')
  5. os.environ.setdefault('SECURITY_HTTP', 'yes')
  6. from apilib.loghelper.wsgi import CustomWSGIWrapper
  7. # This application object is used by the development server
  8. # as well as any WSGI server configured to use this file.
  9. from django.core.wsgi import get_wsgi_application
  10. application = CustomWSGIWrapper(get_wsgi_application())